The youngest person to assume the presidency was Theodore Roosevelt, who, at the age of 42 years, 322 days, succeeded to the office after the assassination of William McKinley. The youngest to become president by election was John F. Kennedy, who was 43 years, 236 days, at his inauguration.