John Quincy Adams was a diplomat, politician, and the sixth President of the United States (March 4, 1825 – March 4, 1829). His party affiliations were Federalist, Democratic-Republican, National Republican, and later Anti-Masonic and Whig. John Quincy Adams was the son of the second United States President John Adams and Abigail Adams. He is most famous as a diplomat involved in many international negotiations, and for formulating the Monroe Doctrine. As president he proposed a grand program of modernization and educational advancement, but was unable to get it through Congress. Late in life, as a Congressman, he was a leading opponent of the Slave Power, arguing that if a civil war ever broke out the president could abolish slavery by using his war powers, a policy followed by Abraham Lincoln in the Emancipation Proclamation of 1863.To date he is the only President of the United States to subsequently serve as a Congressman.