Of the individuals elected as president, four (William Henry Harrison, Zachary Taylor, Warren G. Harding, and Franklin D. Roosevelt) died in office of natural causes, four (Abraham Lincoln, James A. Garfield, William McKinley, and John F. Kennedy) were assassinated, and one (Richard Nixon) resigned.