John Quincy Adams (/ ˈ k w ɪ n z i / ( listen); July 11, 1767 – February 23, 1848) was an American statesman who served as a diplomat, minister and ambassador to foreign nations, and treaty negotiator, United States Senator, U.S. Representative (Congressman) from Massachusetts, and the sixth President of the United States from 1825 to 1829.