it happens
1st George Washington (1789-1793) & (1793-1797) Independent
2nd John Adams (1797-1801) Federalist
3rd Thomas Jefferson (1801-1805) & (1805-1809) Democratic-Republican
4th James Madison (1809-1813) & (1813-1817) Democratic-Republican
5th James Monroe (1817-1821) & (1821-1825) Democratic-Republican
6th John Quincy Adams (1825-1829) Democratic-Republican
7th Andrew Jackson (1829-1833) & (1833-1837) Democratic
8th Martin Van Buren (1837-1841) Democratic
9th William Harrison (1841) Whig
10th John Tyler (1841-1845 Whig
11th James Knox Polk (1845-1849) Democratic
12th Zachary Taylor (1849-1850) Whig
13th Millard Fillmore (1850-1853) Whig
14th Franklin Pierce (1853-1857) Democratic
15th James Buchanan (1857-1861) Democratic
16th Abraham Lincoln (1861-1865) & (1865) Republican / National Union
17th Andrew Johnson (1865-1869) Democratic / National Union
18th Ulysses Grant (1869-1873) & (1873-1877) Republican
19th Rutherford Hayes (1877-1881) Republican
20th James Garfield (1881) Republican
21st Chester Arthur (1881-1885) Republican
22nd Grover Cleveland (1885-1889) Democratic
23rd Benjamin Harrison (1889-1893) Republican
24th Grover Cleveland (1893-1897) Democratic
25th William McKinley (1897-1901) & (1901) Republican
26th Theodore Roosevelt (1901-1905) & (1905-1909) Republican
27th William Taft (1909-1913) Republican
28th Woodrow Wilson (1913-1917) & (1917-1921) Democratic
29th Warren Harding (1921-1923) Republican
30th Calvin Coolidge (1923-1925) & (1925-1929) Republican
31st Herbert Hoover (1929-1933) Republican
32nd Franklin Roosevelt (1933-1937) & (1937-1941) & (1941-1945) & (1945) Democratic
33rd Harry Truman (1945-1949) & (1949-1953) Democratic
34th Dwight Eisenhower (1953-1957) & (1957-1961) Republican
35th John Kennedy (1961-1963) Democratic
36th Lyndon Johnson (1963-1965) & (1965-1969) Democratic
37th Richard Nixon (1969-1974) Republican
38th Gerald Ford (1974-1977) Republican
39th Jimmy Carter (1977-1981) Democratic
40th Ronald Reagan (1981-1985) & (1985-1989) Republican
41st George H Bush (1989-1993) Republican
42nd Bill Clinton (1993-2001) Democratic
43rd George W Bush (2001-2005) & (2005-2009) Republican
44th Barack Obama (2009-2013) & (2013-2017) Democratic
45th J. Trump