<P> Of the elected presidents, four died in office of natural causes (William Henry Harrison, Zachary Taylor, Warren G. Harding, and Franklin D. Roosevelt), four were assassinated (Abraham Lincoln, James A. Garfield, William McKinley and John F. Kennedy), and one resigned (Richard Nixon). John Tyler was the first vice president to assume the presidency during a presidential term, and set the precedent that a vice president who does so becomes the fully functioning president with his own presidency, as opposed to a caretaker president . The Twenty - fifth Amendment to the Constitution put Tyler's precedent into law in 1967 . It also established a mechanism by which a mid-term vacancy in the vice presidency could be filled . Richard Nixon was the first president to fill a vacancy under this Provision when he appointed Gerald Ford to the office . Later, Ford became the second to do so when he appointed Nelson Rockefeller to succeed him . Previously, a mid-term vacancy was left unfilled . </P> <P> Throughout most of its history, American politics has been dominated by political parties . The Constitution is silent on the issue of political parties, and at the time it came into force in 1789, there were no parties . Soon after the 1st Congress convened, factions began rallying around dominant Washington Administration officials, such as Alexander Hamilton and Thomas Jefferson . Greatly concerned about the capacity of political parties to destroy the fragile unity holding the nation together, Washington remained unaffiliated with any political faction or party throughout his eight - year presidency . He was, and remains, the only U.S. president never affiliated with a political party . Since Washington, every president has been affiliated with a political party at the time they assumed office . </P> <Table> <Tr> <Th_colspan="9"> Unaffiliated (2) Federalist (1) Democratic - Republican (4) Democratic (15) Whig (4) Republican (19) National Union (2) </Th> </Tr> <Tr> <Th_colspan="2"> Presidency </Th> <Th_colspan="2"> President </Th> <Th> Prior office </Th> <Th_colspan="2"> Party </Th> <Th> Term </Th> <Th> Vice President </Th> </Tr> <Tr> <Td> </Td> <Td> April 30, 1789--March 4, 1797 </Td> <Td> </Td> <Td> George Washington 1732--1799 (Lived: 67 years) </Td> <Td> Commander - in - Chief of the Continental Army (1775--1783) </Td> <Td> </Td> <Td> Unaffiliated </Td> <Td> (1788--89) (1789) </Td> <Td> John Adams </Td> </Tr> <Tr> <Td> (1792) (1793) </Td> </Tr> <Tr> <Td> </Td> <Td> March 4, 1797--March 4, 1801 </Td> <Td> </Td> <Td> John Adams 1735--1826 (Lived: 90 years) </Td> <Td> 1st Vice President of the United States </Td> <Td> </Td> <Td> Federalist </Td> <Td> (1796) (1797) </Td> <Td> Thomas Jefferson </Td> </Tr> <Tr> <Td> </Td> <Td> March 4, 1801--March 4, 1809 </Td> <Td> </Td> <Td> Thomas Jefferson 1743--1826 (Lived: 83 years) </Td> <Td> 2nd Vice President of the United States </Td> <Td> </Td> <Td> Democratic - Republican </Td> <Td> (1800) (1801) </Td> <Td> Aaron Burr March 4, 1801--March 4, 1805 </Td> </Tr> <Tr> <Td> (1804) 5 (1805) </Td> <Td> George Clinton March 4, 1805--March 4, 1809 </Td> </Tr> <Tr> <Td> </Td> <Td> March 4, 1809--March 4, 1817 </Td> <Td> </Td> <Td> James Madison 1751--1836 (Lived: 85 years) </Td> <Td> 5th United States Secretary of State (1801--1809) </Td> <Td> </Td> <Td> Democratic - Republican </Td> <Td> (1808) 6 (1809) </Td> <Td> George Clinton March 4, 1809--April 20, 1812 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Clinton's term) </Td> </Tr> <Tr> <Td> (1812) 7 (1813) </Td> <Td> Elbridge Gerry March 4, 1813--November 23, 1814 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Gerry's term) </Td> </Tr> <Tr> <Td> 5 </Td> <Td> March 4, 1817--March 4, 1825 </Td> <Td> </Td> <Td> James Monroe 1758--1831 (Lived: 73 years) </Td> <Td> 7th United States Secretary of State (1811--1817) </Td> <Td> </Td> <Td> Democratic - Republican </Td> <Td> (1816) 8 (1817) </Td> <Td> Daniel D. Tompkins </Td> </Tr> <Tr> <Td> (1820) 9 (1821) </Td> </Tr> <Tr> <Td> 6 </Td> <Td> March 4, 1825--March 4, 1829 </Td> <Td> </Td> <Td> John Quincy Adams 1767--1848 (Lived: 80 years) </Td> <Td> 8th United States Secretary of State (1817--1825) </Td> <Td> </Td> <Td> Democratic - Republican </Td> <Td> (1824) 10 (1825) </Td> <Td> John C. Calhoun </Td> </Tr> <Tr> <Td> 7 </Td> <Td> March 4, 1829--March 4, 1837 </Td> <Td> </Td> <Td> Andrew Jackson 1767--1845 (Lived: 78 years) </Td> <Td> U.S. Senator (Class 2) from Tennessee (1797--1798 & 1823--1825) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1828) 11 (1829) </Td> <Td> John C. Calhoun March 4, 1829--December 28, 1832 (Resigned from office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Calhoun's term) </Td> </Tr> <Tr> <Td> (1832) 12 (1833) </Td> <Td> Martin Van Buren March 4, 1833--March 4, 1837 </Td> </Tr> <Tr> <Td> 8 </Td> <Td> March 4, 1837--March 4, 1841 </Td> <Td> </Td> <Td> Martin Van Buren 1782--1862 (Lived: 79 years) </Td> <Td> 8th Vice President of the United States </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1836) 13 (1837) </Td> <Td> Richard M. Johnson </Td> </Tr> <Tr> <Td> 9 </Td> <Td> March 4, 1841--April 4, 1841 (Died in office) </Td> <Td> </Td> <Td> William Henry Harrison 1773--1841 (Lived: 68 years) </Td> <Td> United States Minister to Colombia (1828--1829) </Td> <Td> </Td> <Td> Whig </Td> <Td> (1840) 14 (1841) (1841) </Td> <Td> John Tyler (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 10 </Td> <Td> April 4, 1841--March 4, 1845 </Td> <Td> </Td> <Td> John Tyler 1790--1862 (Lived: 71 years) </Td> <Td> 10th Vice President of the United States </Td> <Td> </Td> <Td> Whig April 4, 1841--September 13, 1841 </Td> <Td> Office vacant </Td> </Tr> <Tr> <Td> </Td> <Td> Unaffiliated September 13, 1841--March 4, 1845 </Td> </Tr> <Tr> <Td> 11 </Td> <Td> March 4, 1845--March 4, 1849 </Td> <Td> </Td> <Td> James K. Polk 1795--1849 (Lived: 53 years) </Td> <Td> 9th Governor of Tennessee (1839--1841) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1844) 15 (1845) </Td> <Td> George M. Dallas </Td> </Tr> <Tr> <Td> 12 </Td> <Td> March 4, 1849--July 9, 1850 (Died in office) </Td> <Td> </Td> <Td> Zachary Taylor 1784--1850 (Lived: 65 years) </Td> <Td> Major General of the 1st Infantry Regiment United States Army (1846--1849) (No prior elected office) </Td> <Td> </Td> <Td> Whig </Td> <Td> (1848) 16 (1849) (1850) </Td> <Td> Millard Fillmore (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 13 </Td> <Td> July 9, 1850--March 4, 1853 </Td> <Td> </Td> <Td> Millard Fillmore 1800--1874 (Lived: 74 years) </Td> <Td> 12th Vice President of the United States </Td> <Td> </Td> <Td> Whig </Td> <Td> Office vacant </Td> </Tr> <Tr> <Td> 14 </Td> <Td> March 4, 1853--March 4, 1857 </Td> <Td> </Td> <Td> Franklin Pierce 1804--1869 (Lived: 64 years) </Td> <Td> Brigadier General of the 9th Infantry United States Army (1847--1848) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1852) 17 (1853) </Td> <Td> William R. King March 4--April 18, 1853 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of King's term) </Td> </Tr> <Tr> <Td> 15 </Td> <Td> March 4, 1857--March 4, 1861 </Td> <Td> </Td> <Td> James Buchanan 1791--1868 (Lived: 77 years) </Td> <Td> United States Minister to the Court of St James's (1853--1856) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1856) 18 (1857) </Td> <Td> John C. Breckinridge </Td> </Tr> <Tr> <Td> 16 </Td> <Td> March 4, 1861--April 15, 1865 (Died in office) </Td> <Td> </Td> <Td> Abraham Lincoln 1809--1865 (Lived: 56 years) </Td> <Td> U.S. Representative for Illinois' 7th District (1847--1849) </Td> <Td> </Td> <Td> Republican (National Union) </Td> <Td> (1860) 19 (1861) </Td> <Td> Hannibal Hamlin March 4, 1861--March 4, 1865 </Td> </Tr> <Tr> <Td> </Td> <Td> (1864) 20 (1865) (1865) </Td> <Td> Andrew Johnson March 4--April 15, 1865 (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 17 </Td> <Td> April 15, 1865--March 4, 1869 </Td> <Td> </Td> <Td> Andrew Johnson 1808--1875 (Lived: 66 years) </Td> <Td> 16th Vice President of the United States </Td> <Td> </Td> <Td> National Union April 15, 1865--c. 1868 </Td> <Td> Office vacant </Td> </Tr> <Tr> <Td> </Td> <Td> Democratic c. 1868--March 4, 1869 </Td> </Tr> <Tr> <Td> 18 </Td> <Td> March 4, 1869--March 4, 1877 </Td> <Td> </Td> <Td> Ulysses S. Grant 1822--1885 (Lived: 63 years) </Td> <Td> Commanding General of the U.S. Army (1864--1869) (No prior elected office) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1868) 21 (1869) </Td> <Td> Schuyler Colfax March 4, 1869--March 4, 1873 </Td> </Tr> <Tr> <Td> (1872) 22 (1873) </Td> <Td> Henry Wilson March 4, 1873--November 22, 1875 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Wilson's term) </Td> </Tr> <Tr> <Td> 19 </Td> <Td> March 4, 1877--March 4, 1881 </Td> <Td> </Td> <Td> Rutherford B. Hayes 1822--1893 (Lived: 70 years) </Td> <Td> 29th & 32nd Governor of Ohio (1868--1872 & 1876--1877) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1876) 23 (1877) </Td> <Td> William A. Wheeler </Td> </Tr> <Tr> <Td> 20 </Td> <Td> March 4, 1881--September 19, 1881 (Died in office) </Td> <Td> </Td> <Td> James A. Garfield 1831--1881 (Lived: 49 years) </Td> <Td> U.S. Representative for Ohio's 19th District (1863--1881) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1880) 24 (1881) (1881) </Td> <Td> Chester A. Arthur (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 21 </Td> <Td> September 19, 1881--March 4, 1885 </Td> <Td> </Td> <Td> Chester A. Arthur 1829--1886 (Lived: 57 years) </Td> <Td> 20th Vice President of the United States </Td> <Td> </Td> <Td> Republican </Td> <Td> Office vacant </Td> </Tr> <Tr> <Td> 22 </Td> <Td> March 4, 1885--March 4, 1889 </Td> <Td> </Td> <Td> Grover Cleveland 1837--1908 (Lived: 71 years) </Td> <Td> 28th Governor of New York (1883--1885) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1884) 25 (1885) </Td> <Td> Thomas A. Hendricks March 4--November 25, 1885 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Hendricks' term) </Td> </Tr> <Tr> <Td> 23 </Td> <Td> March 4, 1889--March 4, 1893 </Td> <Td> </Td> <Td> Benjamin Harrison 1833--1901 (Lived: 67 years) </Td> <Td> U.S. Senator (Class 1) from Indiana (1881--1887) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1888) 26 (1889) </Td> <Td> Levi P. Morton </Td> </Tr> <Tr> <Td> 24 </Td> <Td> March 4, 1893--March 4, 1897 </Td> <Td> </Td> <Td> Grover Cleveland 1837--1908 (Lived: 71 years) </Td> <Td> 22nd President of the United States (1885--1889) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1892) 27 (1893) </Td> <Td> Adlai Stevenson </Td> </Tr> <Tr> <Td> 25 </Td> <Td> March 4, 1897--September 14, 1901 (Died in office) </Td> <Td> </Td> <Td> William McKinley 1843--1901 (Lived: 58 years) </Td> <Td> 39th Governor of Ohio (1892--1896) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1896) 28 (1897) </Td> <Td> Garret Hobart March 4, 1897--November 21, 1899 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Hobart's term) </Td> </Tr> <Tr> <Td> (1900) 29 (1901) (1901) </Td> <Td> Theodore Roosevelt March 4--September 14, 1901 (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 26 </Td> <Td> September 14, 1901--March 4, 1909 </Td> <Td> </Td> <Td> Theodore Roosevelt 1858--1919 (Lived: 60 years) </Td> <Td> 25th Vice President of the United States </Td> <Td> </Td> <Td> Republican </Td> <Td> Office vacant September 14, 1901--March 4, 1905 </Td> </Tr> <Tr> <Td> (1904) 30 (1905) </Td> <Td> Charles W. Fairbanks March 4, 1905--March 4, 1909 </Td> </Tr> <Tr> <Td> 27 </Td> <Td> March 4, 1909--March 4, 1913 </Td> <Td> </Td> <Td> William Howard Taft 1857--1930 (Lived: 72 years) </Td> <Td> 42nd United States Secretary of War (1904--1908) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1908) 31 (1909) </Td> <Td> James S. Sherman March 4, 1909--October 30, 1912 (Died in office) </Td> </Tr> <Tr> <Td> Office vacant (Balance of Sherman's term) </Td> </Tr> <Tr> <Td> 28 </Td> <Td> March 4, 1913--March 4, 1921 </Td> <Td> </Td> <Td> Woodrow Wilson 1856--1924 (Lived: 67 years) </Td> <Td> 34th Governor of New Jersey (1911--1913) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1912) 32 (1913) </Td> <Td> Thomas R. Marshall </Td> </Tr> <Tr> <Td> (1916) 33 (1917) </Td> </Tr> <Tr> <Td> 29 </Td> <Td> March 4, 1921--August 2, 1923 (Died in office) </Td> <Td> </Td> <Td> Warren G. Harding 1865--1923 (Lived: 57 years) </Td> <Td> U.S. Senator (Class 3) from Ohio (1915--1921) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1920) 34 (1921) (1923) </Td> <Td> Calvin Coolidge (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 30 </Td> <Td> August 2, 1923--March 4, 1929 </Td> <Td> </Td> <Td> Calvin Coolidge 1872--1933 (Lived: 60 years) </Td> <Td> 29th Vice President of the United States </Td> <Td> </Td> <Td> Republican </Td> <Td> Office vacant August 2, 1923--March 4, 1925 </Td> </Tr> <Tr> <Td> (1924) 35 (1925) </Td> <Td> Charles G. Dawes March 4, 1925--March 4, 1929 </Td> </Tr> <Tr> <Td> 31 </Td> <Td> March 4, 1929--March 4, 1933 </Td> <Td> </Td> <Td> Herbert Hoover 1874--1964 (Lived: 90 years) </Td> <Td> 3rd United States Secretary of Commerce (1921--1928) (No prior elected office) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1928) 36 (1929) </Td> <Td> Charles Curtis </Td> </Tr> <Tr> <Td> 32 </Td> <Td> March 4, 1933--April 12, 1945 (Died in office) </Td> <Td> </Td> <Td> Franklin D. Roosevelt 1882--1945 (Lived: 63 years) </Td> <Td> 44th Governor of New York (1929--1932) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1932) 37 (1933) </Td> <Td> John N. Garner March 4, 1933--January 20, 1941 </Td> </Tr> <Tr> <Td> (1936) 38 (1937) </Td> </Tr> <Tr> <Td> (1940) 39 (1941) </Td> <Td> Henry A. Wallace January 20, 1941--January 20, 1945 </Td> </Tr> <Tr> <Td> (1944) 40 (1945) (1945) </Td> <Td> Harry S. Truman January 20--April 12, 1945 (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 33 </Td> <Td> April 12, 1945--January 20, 1953 </Td> <Td> </Td> <Td> Harry S. Truman 1884--1972 (Lived: 88 years) </Td> <Td> 34th Vice President of the United States </Td> <Td> </Td> <Td> Democratic </Td> <Td> Office vacant April 12, 1945--January 20, 1949 </Td> </Tr> <Tr> <Td> (1948) 41 (1949) </Td> <Td> Alben W. Barkley January 20, 1949--January 20, 1953 </Td> </Tr> <Tr> <Td> 34 </Td> <Td> January 20, 1953--January 20, 1961 </Td> <Td> </Td> <Td> Dwight D. Eisenhower 1890--1969 (Lived: 78 years) </Td> <Td> Supreme Allied Commander Europe (1949--1952) (No prior elected office) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1952) 42 (1953) </Td> <Td> Richard Nixon </Td> </Tr> <Tr> <Td> (1956) 43 (1957) </Td> </Tr> <Tr> <Td> 35 </Td> <Td> January 20, 1961--November 22, 1963 (Died in office) </Td> <Td> </Td> <Td> John F. Kennedy 1917--1963 (Lived: 46 years) </Td> <Td> U.S. Senator (Class 1) from Massachusetts (1953--1960) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1960) 44 (1961) (1963) </Td> <Td> Lyndon B. Johnson (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 36 </Td> <Td> November 22, 1963--January 20, 1969 </Td> <Td> </Td> <Td> Lyndon B. Johnson 1908--1973 (Lived: 64 years) </Td> <Td> 37th Vice President of the United States </Td> <Td> </Td> <Td> Democratic </Td> <Td> Office vacant November 22, 1963--January 20, 1965 </Td> </Tr> <Tr> <Td> (1964) 45 (1965) </Td> <Td> Hubert Humphrey January 20, 1965--January 20, 1969 </Td> </Tr> <Tr> <Td> 37 </Td> <Td> January 20, 1969--August 9, 1974 (Resigned from office) </Td> <Td> </Td> <Td> Richard Nixon 1913--1994 (Lived: 81 years) </Td> <Td> 36th Vice President of the United States (1953--1961) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1968) 46 (1969) </Td> <Td> Spiro Agnew January 20, 1969--October 10, 1973 (Resigned from office) </Td> </Tr> <Tr> <Td> (1972) 47 (1973) (1974) </Td> </Tr> <Tr> <Td> Office vacant October 10--December 6, 1973 </Td> </Tr> <Tr> <Td> Gerald Ford December 6, 1973--August 9, 1974 (Succeeded to presidency) </Td> </Tr> <Tr> <Td> 38 </Td> <Td> August 9, 1974--January 20, 1977 </Td> <Td> </Td> <Td> Gerald Ford 1913--2006 (Lived: 93 years) </Td> <Td> 40th Vice President of the United States </Td> <Td> </Td> <Td> Republican </Td> <Td> Office vacant August 9--December 19, 1974 </Td> </Tr> <Tr> <Td> Nelson Rockefeller December 19, 1974--January 20, 1977 </Td> </Tr> <Tr> <Td> 39 </Td> <Td> January 20, 1977--January 20, 1981 </Td> <Td> </Td> <Td> Jimmy Carter Born 1924 (93 years old) </Td> <Td> 76th Governor of Georgia (1971--1975) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1976) 48 (1977) </Td> <Td> Walter Mondale </Td> </Tr> <Tr> <Td> 40 </Td> <Td> January 20, 1981--January 20, 1989 </Td> <Td> </Td> <Td> Ronald Reagan 1911--2004 (Lived: 93 years) </Td> <Td> 33rd Governor of California (1967--1975) </Td> <Td> </Td> <Td> Republican </Td> <Td> (1980) 49 (1981) </Td> <Td> George H.W. Bush </Td> </Tr> <Tr> <Td> (1984) 50 (1985) </Td> </Tr> <Tr> <Td> 41 </Td> <Td> January 20, 1989--January 20, 1993 </Td> <Td> </Td> <Td> George H.W. Bush Born 1924 (93 years old) </Td> <Td> 43rd Vice President of the United States </Td> <Td> </Td> <Td> Republican </Td> <Td> (1988) 51 (1989) </Td> <Td> Dan Quayle </Td> </Tr> <Tr> <Td> 42 </Td> <Td> January 20, 1993--January 20, 2001 </Td> <Td> </Td> <Td> Bill Clinton Born 1946 (71 years old) </Td> <Td> 40th & 42nd Governor of Arkansas (1979--1981 & 1983--1992) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (1992) 52 (1993) </Td> <Td> Al Gore </Td> </Tr> <Tr> <Td> (1996) 53 (1997) </Td> </Tr> <Tr> <Td> 43 </Td> <Td> January 20, 2001--January 20, 2009 </Td> <Td> </Td> <Td> George W. Bush Born 1946 (71 years old) </Td> <Td> 46th Governor of Texas (1995--2000) </Td> <Td> </Td> <Td> Republican </Td> <Td> (2000) 54 (2001) </Td> <Td> Dick Cheney </Td> </Tr> <Tr> <Td> (2004) 55 (2005) </Td> </Tr> <Tr> <Td> 44 </Td> <Td> January 20, 2009--January 20, 2017 </Td> <Td> </Td> <Td> Barack Obama Born 1961 (56 years old) </Td> <Td> U.S. Senator (Class 3) from Illinois (2005--2008) </Td> <Td> </Td> <Td> Democratic </Td> <Td> (2008) 56 (2009) </Td> <Td> Joe Biden </Td> </Tr> <Tr> <Td> (2012) 57 (2013) </Td> </Tr> <Tr> <Td> 45 </Td> <Td> January 20, 2017--Incumbent </Td> <Td> </Td> <Td> Donald Trump Born 1946 (71 years old) </Td> <Td> Chairman of The Trump Organization (1971--2017) (No prior elected office) </Td> <Td> </Td> <Td> Republican </Td> <Td> (2016) 58 (2017) </Td> <Td> Mike Pence </Td> </Tr> </Table> <Tr> <Th_colspan="9"> Unaffiliated (2) Federalist (1) Democratic - Republican (4) Democratic (15) Whig (4) Republican (19) National Union (2) </Th> </Tr>

How many presidents of the united states have there been
find me the text answering this question