<Tr> <Th> Peter B. Porter </Th> <Td> 1828--1829 </Td> </Tr> <Tr> <Td> Attorney General </Td> <Th> William Wirt </Th> <Td> 1825--1829 </Td> </Tr> <Tr> <Td> Secretary of the Navy </Td> <Th> Samuel L. Southard </Th> <Td> 1825--1829 </Td> </Tr> <P> Adams appointed one Justice to the Supreme Court of the United States and eleven judges to the United States district courts . The lone Supreme Court Justice, Robert Trimble, served from May 1826 to his death in August 1828 . Adams nominated John J. Crittenden to replace Trimble, but the Senate never voted on Crittenden's nomination . </P>

Who was the very recent president who was also a member of the us senate before becoming president