<Tr> <Th> President </Th> <Th_colspan="2"> Presidency </Th> <Th> Office sought unsuccessfully </Th> </Tr> <Tr> <Td> John Quincy Adams </Td> <Td> 6 </Td> <Td> 1825--1829 </Td> <Td> Governor of Massachusetts (1833) </Td> </Tr> <Tr> <Td> Martin Van Buren </Td> <Td> 8 </Td> <Td> 1837--1841 </Td> <Td> President of the United States (1844) </Td> </Tr> <Tr> <Td> President of the United States (1848) </Td> </Tr>

All presidents in order of the united states