Eighteen members of the: Republican Party have served as president, governing for 88 years in total. Four served two full terms and five served one full term. Three were elected twice but either died or were assassinated (Abraham Lincoln and William McKinley) or resigned (Richard Nixon) during their second term. Two were elected once but died before completing their first term (James A. Garfield and Warren G. Harding). Four succeeded to the presidency following the death or resignation of their predecessor: two (Theodore Roosevelt and Calvin Coolidge) were subsequently elected to a full term; two (Chester A. Arthur and Gerald Ford) were not.
Sixteen members of the Democratic Party have served as president, governing for a total of 91 years. Five served at least two full terms (Franklin Roosevelt was elected four times; he served three full terms and died during his fourth) and five served one full term. Three succeeded to the presidency after the death of their predecessor (of which two were subsequently elected to a full term [i.e., Harry Truman and Lyndon Johnson] ) and one, Andrew Johnson, did not seek election). John F. Kennedy was assassinated before his first term was finished and Barack Obama is currently in office.
^Lincoln served his first term (from 1861–1865) as a member of the Republican Party, but ran for his second term as a member of the National Union Party and served only a short part of his second term in 1865 before being assassinated.
^Andrew Johnson did not identify with the two main parties of Democrats and Republicans, though he did try for the Democratic nomination in 1868, and so while President he attempted to build a party of loyalists under the National Union label. Asked in 1868 why he did not become a Democrat, he said, "It is true I am asked why don't I join the Democratic Party. Why don't they join me ... if I have administered the office of president so well?" This failure to build a new National Union Party made Johnson effectively an independent.
^Although John Tyler was elected vice president on the Whig ticket, his policies soon proved to be opposed to most of the Whig agenda, and he was expelled from the party in 1841, a few months after taking office as President.