John Quincy Adams ( July 11 , 1767 â `` February 23 , 1848 ) was the sixth President of the United States and first President who was the son of a President , John Adams . John Quincy Adams ( ; July 11 , 1767 - February 23 , 1848 ) was the sixth President of the United States ( 1825 â `` 1829 ) .