United States Presidents' Political Parties

The poltical parties to which America's presidents have belonged while holding the office of the Presidency of the United States (POTUS). The party party affiliation of some presidents changed while they were in office, e.g., Abraham Lincoln was a Republican when he was first elected to office, but ran under the National Union Party ticket when he sought re-election in 1864 during the Civil War—that party name was used to attract Democratic and Unionist Party members who did not want to vote for a Republican Party candidate. John Tyler was a Whig when he became president in 1841 at the death of President William Henry Harrison, who died in office one month taking the oath of office, but he was expelled by the party that same year after disagreements with the party's leadership.



1. George Washingon: Unaffiliated
2. John Adams: Federalist
3. Thomas Jefferson: Democratic-Republican
4. James Madison: Democratic-Republican
5. James Monroe: Democratic-Republican
6. John Quincy Adams: Democratic-Republican (1809-1828)/National Republican (1828-1830)
7. Andrew Jackson: Democratic
8. Martin Van Buren: Democratic
9. William Henry Harrison: Whig
10. John Tyler: Whig until 1841 when he was expelled from the party
11. James K. Polk: Democratic
12. Zachary Taylor: Whig
13. Millard Fillmore: Whig
14. Franklin Pierce: Democratic
15. James Buchanan: Democratic
16. Abraham Lincoln: Republican (1861-1864)/National Union (1864-1865)
17. Andrew Johnson: National Union (1864-1868)/Democratic (1868-1875)
18. Ulysses S. Grant: Republican
19. Rutherford B. Hayes: Republican
20. James A. Garfield: Republican
21. Chester A. Arthur: Republican
22. Grover Cleveland (1st term): Democratic
23. Benjamin Harrison: Republican
24. Grover Cleveland (2nd term): Democratic
25. William McKinley: Republican
26. Theodore Roosevelt: Republican
27. William Howard Taft: Republican
28. Woodrow Wilson: Democratic
29. William G. Harding: Republican
30. Calvin Coolidge: Republican
31. Herbert Hoover: Republican
32. Franklin D. Roosevelt: Democratic
33. Harry S. Truman: Democratic
34. Dwight D. Eisenhower: Republican
35. John F. Kennedy: Democratic
36. Lyndon B. Johnson: Democratic
37. Richard Nixon: Republican
38. Gerald Ford: Republican
39. Jimmy Carter: Democratic
40. Ronald Reagan: Republican
41. George H. W. Bush: Republican
42. Bill Clinton: Democratic
43. George W. Bush: Republican
44. Barack Obama: Democratic
45. Donald Trump: Republican
46. Joseph Biden: Democratic

This page is produced by the PHP code shown at Iterating over a PHP associative array by key.