Answer:
Since the office was established in 1789, 44 people have served as President of the United States. Of these, eight presidents have died in office: four were assassinated, and four died of natural causes. In each of these instances, the vice president has succeeded to the presidency.