<page_title> List of Presidents of the United States </page_title> <section_title> Presidents </section_title> <table> <cell> 25 <col_header> Unaffiliated (2) Federalist (1) Democratic-Republican (4) Democratic (15) Whig (4) Republican (19) National Union (2) </col_header> <col_header> Presidency </col_header> </cell> <cell> William McKinley 1843–1901 (Lived: 58 years) <col_header> Unaffiliated (2) Federalist (1) Democratic-Republican (4) Democratic (15) Whig (4) Republican (19) National Union (2) </col_header> <col_header> President </col_header> </cell> <cell> 1896 <col_header> Unaffiliated (2) Federalist (1) Democratic-Republican (4) Democratic (15) Whig (4) Republican (19) National Union (2) </col_header> <col_header> Election </col_header> </cell> </table>
The 25th United States president, McKinley took office in the 1896 presidential election.