Roosevelt became president on September 14, 1901 upon President McKinley's assassination. At the age of forty-two, he was the youngest man to ever become president. At the end of this term in 1904, Roosevelt's popularity made him the obvious choice for the Republican nomination, with Charles W. Fairbanks as his vice presidential nominee. Roosevelt was opposed by Democrat Alton B. Parker. Since both candidates agreed on most of the major issues, the campaign became more of a popularity contest. In fact, neither candidate spent a lot of time campaigning. In the end, Roosevelt easily won with 336 out of 476 electoral votes.