John Quincy Adams John Quincy Adams ( July 11 , 1767 – February 23 , 1848 ) was the sixth President of the United States ( 1825 – 1829 ) . He served as American diplomat , Senator , and Congressional representative . He was a member of the Federalist , Democratic - Republican , National Republican , and later Anti - Masonic and Whig parties . Adams was the son of former President John Adams and Abigail Adams . As a diplomat , Adams played an important role in negotiating many international treaties , most notably the Treaty of Ghent , which ended the War of 1812 . As Secretary of State , he negotiated with the United Kingdom over the United States ' northern border with Canada , negotiated with Spain the annexation of Florida , and authored the Monroe Doctrine . Historians agree he was one of the greatest diplomats and secretaries of state in American history . As president , he sought to modernize the American economy and promoted education . Adams enacted a part of his agenda and paid off much of the national debt . He was stymied by a Congress controlled by his enemies , and his lack of patronage networks helped politicians eager to undercut him . He lost his 1828 bid for re - election to Andrew Jackson . In doing so , he became the first president since his father to serve a single term . Adams is best known as a diplomat who shaped America ' s foreign policy in line with his ardently nationalist commitment to America ' s republican values . More recently Howe ( 2007 ) portrayed Adams as the exemplar and moral leader in an era of modernization . During Adams ' lifetime , technological innovations and new means of communication spread messages of religious revival , social reform , and party politics . Goods , money , and people traveled more rapidly and efficiently than ever before . Adams was elected a U . S . Representative from Massachusetts after leaving office , serving for the last 17 years of his life with far greater acclamation than he had achieved as president . He is , so far , the only president later elected to the United States House of Representatives . Animated by his growing revulsion against slavery , Adams became a leading opponent of the Slave Power . He predicted that if a civil war were to break out , the president could abolish slavery by using his war powers . Adams also predicted the Union ' s dissolution over the slavery issue , but said that if the South became independent there would be a series of bloody slave revolts . Early life , education , and early career . John Quincy Adams was born on July 11 , 1767 , to John Adams and his wife Abigail Adams ( née Smith ) in a part of Braintree , Massachusetts that is now Quincy . John Quincy Adams Birthplace is now part of Adams National Historical Park and open to the public . He was named for his mother ' s maternal grandfather , Colonel John Quincy , after whom Quincy , Massachusetts , is named . His namesake great - grandfather died only two days after he was born . The name Quincy has subsequently been used for at least nineteen other places in the United States . Those places were either directly or indirectly named for John Quincy Adams ( for example , Quincy , Illinois was named in honor of Adams while Quincy , California was named for Quincy , Illinois ) . The Quincy family name was pronounced , as is the name of the city in Massachusetts where Adams was born . However , all of the other place names are locally . Though not accurate , this pronunciation is also commonly used for Adams ' middle name . Adams first learned of the Declaration of Independence from the letters his father wrote his mother from the Second Continental Congress in Philadelphia . In 1779 , Adams began a diary that he kept until just before he died in 1848 . The massive fifty volumes are one of the most extensive collections of first - hand information from the period of the early republic and are widely cited by modern historians . Much of Adams ' youth was spent accompanying his father overseas . John Adams served as an American envoy to France from 1778 until 1779 and to the Netherlands from 1780 until 1782 , and the younger Adams accompanied his father on these journeys . Adams acquired an education at institutions such as Leiden University . He matriculated in Leiden January 10 , 1781 . For nearly three years , at the age of 14 , he accompanied Francis Dana as a secretary on a mission to Saint Petersburg , Russia , to obtain recognition of the new United States . He spent time in Finland , Sweden , and Denmark and , in 1804 , published a travel report of Silesia . During these years overseas , Adams became fluent in French and Dutch and became familiar with German and other European languages . He entered Harvard College and was graduated in 1787 with a Bachelor of Arts degree , Phi Beta Kappa . Adams House at Harvard College is named in honor of Adams and his father . He later earned an Master of Arts from Harvard in 1790 . He apprenticed as an attorney with Theophilus Parsons in Newburyport , Massachusetts , from 1787 to 1789 . He gained admittance to the bar in 1791 and began practicing law in Boston . Early political career ( 1796 – 1817 ) . Washington administration . Adams first won national recognition when he published a series of widely read articles supporting Washington ' s decision to keep America out of the growing hostilities surrounding the French Revolution . Soon after , George Washington appointed Adams minister to the Netherlands ( at the age of 26 ) in 1793 . He did not want the position , preferring to maintain his quiet life of reading in Massachusetts , and probably would have rejected it if his father had not persuaded him to take it . On his way to the Netherlands , he was to deliver a set of documents to Chief Justice John Jay , who was negotiating the Jay Treaty . After spending some time with Jay , Adams wrote home to his father , in support of the emerging treaty because he thought America should stay out of European affairs . Historian Paul Nagel has noted that this letter reached Washington , and that parts of it were used by Washington when drafting his farewell address . While going back and forth between The Hague and London , he met and proposed to his future wife . Though he wanted to return to private life at the end of his appointment , Washington appointed him minister to Portugal in 1796 , where he was soon promoted to the Berlin Legation . Though his talents were far greater than his desire to serve , he was finally convinced to remain in public service when he learned how highly Washington thought of his abilities . Washington called Adams " the most valuable of America ' s officials abroad , " and Nagel believes that it was at this time that Adams first came to terms with a lifetime of public service . He became a Fellow of the American Academy of Arts and Sciences in 1797 . When the elder Adams became president , he appointed his son in 1797 as Minister to Prussia at Washington ' s urging . There Adams signed the renewal of the very liberal Prussian - American Treaty of Amity and Commerce after negotiations with Prussian Foreign Minister Count Karl - Wilhelm Finck von Finckenstein . He served at that post until 1801 . While serving abroad , Adams married Louisa Catherine Johnson , the daughter of an American merchant , in a ceremony at the church of All Hallows - by - the - Tower , London . Adams remains the only president to have a First Lady born outside of the United States . Massachusetts politics . On his return to the United States , Adams was appointed a Commissioner of Monetary Affairs in Boston by a Federal District Judge ; however , Thomas Jefferson rescinded this appointment . He again tried his hand as an attorney , but shortly afterward entered politics . John Quincy Adams was elected a member of the Massachusetts State Senate in April 1802 . In November 1802 he ran as a Federalist for the United States House of Representatives and lost . The Massachusetts General Court elected Adams as a Federalist to the U . S . Senate soon after , and he served from March 4 , 1803 , until 1808 , when he broke with the Federalist Party . Adams , as a Senator , had supported the Louisiana Purchase and Jefferson ' s Embargo Act , actions which made him very unpopular with Massachusetts Federalists . The Federalist - controlled Massachusetts Legislature chose a replacement for Adams on June 3 , 1808 , several months early . On June 8 , Adams broke with the Federalists , resigned his Senate seat , and became a Democrat - Republican . Harvard professor . While a member of the Senate , Adams also served as a professor of logic at Brown University . Disowned by the Federalists and not fully accepted by the Republicans , Adams used his Boylston Professorship of Rhetoric and Oratory at Harvard as a new base . Adams ' devotion to classical rhetoric shaped his response to public issues . He remained inspired by classical rhetorical ideals long after the neo - classicalism and deferential politics of the founding generation had been eclipsed by the commercial ethos and mass democracy of the Jacksonian Era . Many of Adams ' idiosyncratic positions were rooted in his abiding devotion to the Ciceronian ideal of the citizen - orator " speaking well " to promote the welfare of the polis . Adams was influenced by the classical republican ideal of civic eloquence espoused by British philosopher David Hume . Adams adapted these classical republican ideals of public oratory to America , viewing the multilevel political structure as ripe for " the renaissance of Demosthenic eloquence . " Adams ' " Lectures on Rhetoric and Oratory " ( 1810 ) looks at the fate of ancient oratory , the necessity of liberty for it to flourish , and its importance as a unifying element for a new nation of diverse cultures and beliefs . Just as civic eloquence failed to gain popularity in Britain , in the United States interest faded in the second decade of the 19th century as the " public spheres of heated oratory " disappeared in favor of the private sphere . Madison administration . President James Madison appointed Adams as the first ever United States Minister to Russia in 1809 ( though Francis Dana and William Short had previously been nominated to the post , neither presented his credentials at Saint Petersburg ) . Louisa Adams was with him in Saint Petersburg almost the entire time . While not officially a diplomat , Louisa Adams did serve an invaluable role as wife - of - diplomat , becoming a favorite of the tsar and making up for her husband ' s utter lack of charm . She was an indispensable part of the American mission . In 1812 , Adams reported the news of Napoleon ' s invasion of Russia and Napoleon ' s disastrous retreat . In 1814 , Adams was recalled from Russia to serve as chief negotiator of the U . S . commission for the Treaty of Ghent , which ended the War of 1812 between the United States and Great Britain . Finally , he was sent to be minister to the Court of St . James ' s ( Britain ) from 1815 until 1817 , a post that was first held by his father . U . S . Secretary of State ( 1817 – 1825 ) . Adams served as Secretary of State in the Cabinet of President James Monroe from 1817 until 1825 . Typically , his views concurred with those espoused by Monroe . As Secretary of State , he negotiated the Adams – Onís Treaty ( which acquired Florida for the United States ) , the Treaty of 1818 , and wrote the Monroe Doctrine . Many historians regard him as one of the greatest Secretaries of State in American history . The Floridas , still a Spanish territory but with no Spanish presence to speak of , became a refuge for runaway slaves and native Americans . Monroe sent in General Andrew Jackson who pushed the Seminole Indians south , executed two British merchants who were supplying weapons , deposed one governor and named another , and left an American garrison in occupation . President Monroe and all his cabinet , except Adams , believed Jackson had exceeded his instructions . Adams argued that since Spain had proved incapable of policing her territories , the United States was obliged to act in self - defense . Adams so ably justified Jackson ' s conduct that he silenced protests from either Spain or Britain ; Congress refused to punish Jackson . Adams used the events that had unfolded in Florida to negotiate the Florida Treaty with Spain in 1819 that turned Florida over to the U . S . and resolved border issues regarding the Louisiana Purchase . With the ongoing Oregon boundary dispute , Adams sought to negotiate a settlement with England to decide the border between the western United States and Canada . This would become the Treaty of 1818 . Along with the Rush – Bagot Treaty of 1817 , this marked the beginning of improved relations between the British Empire and its former colonies , and paved the way for better relations between the U . S . and Canada . The treaty had several provisions , but in particular it set the boundary between British North America and the United States along the 49th parallel through the Rocky Mountains . This settled a boundary dispute caused by ignorance of actual geography in the boundary agreed to in the 1783 Treaty of Paris that ended the American Revolutionary War . That earlier treaty had used the Mississippi River to determine the border , but assumed that the river extended further north than it did , and so that earlier settlement was unworkable . By the time Monroe became president , several European powers , in particular Spain , were attempting to re - establish control over South America . On Independence Day 1821 , in response to those who advocated American support for independence movements in many South American countries , Adams gave a speech in which he said that American policy was moral support for independence movements but not armed intervention . Adams foresaw what would befall the United States if it sacrificed its republican spirit on the altar of empire . He stated that America " goes not abroad in search of monsters to destroy " lest she " involve herself beyond power of extrication , in all wars of interest and intrigue , of individual avarice , envy , and ambition , which assume the colors and usurp the standard of freedom . The fundamental maxims of her policy would insensibly change from liberty to force . " The United States , Adams warned , might " become the dictatress of the world [ but ] she would be no longer the ruler of her own spirit . " From this , Adams authored what came to be known as the Monroe Doctrine , which was introduced on December 2 , 1823 . It stated that further efforts by European countries to colonize land or interfere with states in the Americas would be viewed as acts of aggression requiring U . S . intervention . The United States , reflecting concerns raised by Great Britain , ultimately hoped to avoid having any European power take over Spain ' s colonies . It became a defining moment in the foreign policy of the United States and one of its longest - standing tenets , and would be invoked by many U . S . statesmen and several U . S . presidents , including Theodore Roosevelt , Calvin Coolidge , Herbert Hoover , John F . Kennedy , Ronald Reagan and others . 1824 presidential election . As the 1824 election drew near people began looking for candidates . New England voters admired Adams ' patriotism and political skills and it was mainly due to their support that he entered the race . The old caucus system of the Democratic - Republican Party had collapsed ; indeed the entire First Party System had collapsed and the election was a fight based on regional support . Adams had a strong base in New England . His opponents included John C . Calhoun , William H . Crawford , Henry Clay , and the hero of New Orleans , Andrew Jackson . During the campaign Calhoun dropped out , and Crawford fell ill giving further support to the other candidates . When Election Day arrived , Andrew Jackson won , although narrowly , pluralities of the popular and electoral votes , but not the necessary majority of electoral votes . Under the terms of the Twelfth Amendment , the presidential election fell to the House of Representatives , which was to choose from the top three candidates : Jackson , Adams , and Crawford . Clay had come in fourth place and thus was not on the ballot , but he retained considerable power and influence as Speaker of the House . Clay ' s personal dislike for Jackson and the similarity of his American System to Adams ' position on tariff s and internal improvements caused him to throw his support to Adams , who was elected by the House on February 9 , 1825 , on the first ballot . Adams ' victory shocked Jackson , who had won the most electoral and popular votes and fully expected to be elected president . When Adams appointed Clay as Secretary of State — the position that Adams and his three predecessors had held before becoming president — Jacksonian Democrats were outraged , and claimed that Adams and Clay had struck a " corrupt bargain " . This contention overshadowed Adams ' term and greatly contributed to Adams ' loss to Jackson four years later , in the 1828 election . Presidency ( 1825 – 1829 ) . Adams served as the sixth President of the United States from March 4 , 1825 , to March 4 , 1829 . He took the oath of office on a book of constitutional law , instead of the more traditional Bible . Adams proposed an elaborate program of internal improvements ( roads , ports and canals ) , a national university , and federal support for the arts and sciences . He favored a high tariff to encourage the building of factories , and restricted land sales to slow the movement west . Opposition from the states ' rights faction of a hostile congress killed many of his proposals . He also reduced the national debt from $ 16 million to $ 5 million , the remainder of which was paid off by his immediate successor , Andrew Jackson . Paul Nagel argues that his political acumen was not any less developed than others were in his day , and notes that Henry Clay , one of the era ' s most astute politicians , was a principal advisor to Adams and supporter throughout his presidency . Nagel argues that Adams ' political problems were the result of an unusually hostile Jacksonian faction , and Adams ' own dislike of the office . Although a product of the political culture of his day , he refused to play politics according to the usual rules and was not as aggressive in courting political support as he could have been . He was attacked by the followers of Jackson , who accused him of being a partner to a " corrupt bargain " to obtain Clay ' s support in the election and then appoint him Secretary of State . Jackson defeated Adams in 1828 , and created the modern Democratic party thus inaugurating the Second Party System . Domestic policies . During his term , Adams worked on transforming America into a world power through " internal improvements , " as a part of the " American System " . It consisted of a high tariff to support internal improvements such as road - building , and a national bank to encourage productive enterprise and form a national currency . In his first annual message to Congress , Adams presented an ambitious program for modernization that included roads , canals , a national university , an astronomical observatory , and other initiatives . The support for his proposals was mixed , mainly due to opposition from Jackson ' s followers . Some of his proposals were adopted , specifically the extension of the Cumberland Road into Ohio with surveys for its continuation west to St . Louis ; the beginning of the Chesapeake and Ohio Canal , the construction of the Chesapeake and Delaware Canal and the Louisville and Portland Canal around the falls of the Ohio ; the connection of the Great Lakes to the Ohio River system in Ohio and Indiana ; and the enlargement and rebuilding of the Dismal Swamp Canal in North Carolina . One of the issues which divided the administration was protective tariffs , of which Henry Clay was a leading advocate . After Adams lost control of Congress in 1827 , the situation became more complicated . By signing into law the Tariff of 1828 , quite unpopular in parts of the south , he further antagonized the Jacksonians . Adams ' generous policy toward Native Americans caused him trouble . Settlers on the frontier , who were constantly seeking to move westward , cried for a more expansionist policy . When the federal government tried to assert authority on behalf of the Cherokees , the governor of Georgia took up arms . Adams defended his domestic agenda as continuing Monroe ' s policies . In contrast , Andrew Jackson and Martin Van Buren instigated the policy of Indian removal to the west ( i . e . the Trail of Tears ) . Foreign policies . Adams is regarded as one of the greatest diplomats in American history , and during his tenure as Secretary of State , he was the chief designer of the Monroe Doctrine . He had witnessed the First Barbary War and the Second Barbary War against the Arab pirates of North Africa , and the Greek War of Independence from the Ottoman Turks . Adams accepted that the Greek fight for independence from the Turks was part of a long conflict between Islam and the West . Although he sympathized with the Greeks , and held a deep mistrust of the defeated Muslims , he was reluctant to support America ' s involvement in continuing wars far from home . On July 4 , 1821 , he gave an address to Congress : . . . But she [ the United States of America ] goes not abroad , in search of monsters to destroy . She is the well - wisher to the freedom and independence of all . She is the champion and vindicator only of her own . During his term as president , however , Adams ' achievements were of significant long - term consequence in foreign affairs . A reason for this was the opposition he faced in Congress , where his rivals prevented him from succeeding . Among his diplomatic achievements were treaties of reciprocity with a number of nations , including Denmark , Mexico , the Hanseatic League , the Scandinavian countries , Prussia and Austria . However , thanks to the successes of Adams ' diplomacy during his previous eight years as secretary of state , most of the foreign policy issues he would have faced had been resolved by the time he became president . Departure . John Quincy Adams left office on March 4 , 1829 , after losing the election of 1828 to Andrew Jackson . Adams did not attend the inauguration of his successor , Andrew Jackson , who had openly snubbed him by refusing to pay the traditional " courtesy call " to the outgoing president during the weeks before his own inauguration . He was one of only three presidents who chose not to attend their respective successor ' s inauguration ; the others were his father and Andrew Johnson . 1828 presidential election . After the inauguration of Adams in 1825 , Jackson resigned from his senate seat . For four years he worked hard , with help from his supporters in Congress , to defeat Adams in the presidential election of 1828 . The campaign was very much a personal one . As was the tradition of the day and age in American presidential politics , neither candidate personally campaigned , but their political followers organized many campaign events . Both candidates were rhetorically attacked in the press . This reached a low point when the press accused Jackson ' s wife Rachel of bigamy . She died a few weeks after the elections . Jackson said he would forgive those who insulted him , but he would never forgive the ones who had attacked his wife . Adams lost the election by a decisive margin . He won all the same states that his father had won in the election of 1800 : the New England states , New Jersey , and Delaware , as well as parts of New York and a majority of Maryland . Jackson won the rest of the states , picking up 178 electoral votes to Adams ' 83 votes , and succeeded him . Adams and his father were the only U . S . presidents to serve a single term during the first 48 years of the Presidency ( 1789 – 1837 ) . Historian Thomas Bailey observed , " Seldom has the public mind been so successfully poisoned against an honest and high - minded man . " Later congressional career ( 1830 – 1848 ) . Adams did not retire after leaving office . Instead he ran for and won a seat in the United States House of Representatives in the 1830 elections . He was the first president to serve in Congress after his term of office , and one of only two former presidents to do so ( Andrew Johnson later served in the Senate ) . He was elected to eight terms , serving as a Representative for 17 years , from 1831 until his death . Adams ran for Governor of Massachusetts in 1833 on the Anti - Masonic ticket . Incumbent National Republican Governor Levi Lincoln , Jr . was retiring and Adams faced National Republican John Davis , Democrat Marcus Morton and Samuel L . Allen of the Working Men ' s Party . Davis won a plurality , 40 % , and Adams took 29 % with Morton taking 25 % and Allen 6 % . Because no candidate had won a majority , the election was sent to the state legislature to decide . Adams withdrew and endorsed Davis , preferring him over Morton and Davis was chosen by the legislature in January 1834 . Adams focused more on anti - slavery issues starting in 1841 . He involved himself on the Amistad case which determined that the slaves that were captured in the Sierra Leone region would not be held accountable as slaves and that they could return home to their family and friends . Adams agreed for Lewis Tappan and Ellis Gray to take the stand at the Supreme Court on behalf of the Africans after a revolt on the Spanish ship of Amistad . Adams took the case for February 24 , 1841 and argued on behalf of the Africans for four hours . His argument put an end to the Amistad affairs and freed the slaves . In authoring a change to the Tariff of 1828 , he was instrumental to the compromise that ended the Nullification Crisis . When James Smithson died and left his estate to the U . S . government to build an institution of learning , congress wanted to appropriate the money for other purposes . Adams was key to ensuring that the money was instead used to build the Smithsonian Institution . He also led the fight against the gag rule , which prevented congress from hearing anti - slavery petitions . Throughout much of his congressional career , he fought it , evaded it , and tried to repeal it . In 1844 he assembled a coalition that approved his resolution to repeal the rule . He was considered by many to be the leader of the anti - slavery faction in congress , as he was one of America ' s most prominent opponents of slavery . Committee assignments . In Congress , he was chair of the Committee on Commerce and Manufactures , the Committee on Indian Affairs and the Committee on Foreign Affairs . Slavery . A longtime opponent of slavery , Adams used his new role in Congress to fight it . In 1836 , Southern Congressmen voted in a rule , called the “ gag rule , ” that immediately tabled any petitions about slavery , banning discussion or debate of the slavery issue . He became a forceful opponent of this rule and conceived a way around it , attacking slavery in the House for two weeks . The gag rule prevented him from bringing slavery petitions to the floor , but he brought one anyway . It was a petition from a Georgia citizen urging disunion due to the continuation of slavery in the South . Though he certainly did not support it and made that clear at the time , his intent was to antagonize the pro - slavery faction of Congress into an open fight on the matter . The plan worked . The petition infuriated his congressional enemies , many of whom were agitating for disunion themselves . They moved for his censure over the matter , enabling Adams to openly discuss slavery during his subsequent defense . Taking advantage of his right to defend himself , Adams delivered prepared and impromptu remarks against slavery and in favor of abolition . Knowing that he would probably be acquitted , he changed the focus from his own actions to those of the slaveholders , speaking against the slave trade and the ownership of slaves . He decided that if he were censured , he would merely resign , run for the office again , and probably win easily . When his opponents realized that they played into his political strategy , they tried to bury the censure . Adams made sure this did not happen , and the debate continued . He attacked slavery and slaveholders as immoral and condemned the institution while calling for it to end . After two weeks , a vote was held , and he was not censured . He delighted in the misery he was inflicting on the slaveholders he so hated , and prided himself on being " obnoxious to the slave faction . " Although the censure of Adams over the slavery petition was ultimately abandoned , the House did address the issue of petitions from enslaved persons at a later time . Adams again argued that the right to petition was a universal right , granted by God , so that those in the weakest positions might always have recourse to those in the most powerful . Adams also called into question the actions of a House that would limit its own ability to debate and resolve questions internally . After this debate , the gag rule was ultimately retained . The discussion ignited by his actions and the attempts of others to quiet him raised questions of the right to petition , the right to legislative debate , and the morality of slavery . During the censure debate , Adams said that he took delight in the fact that southerners would forever remember him as " the acutest , the astutest , the archest enemy of southern slavery that ever existed " . Later he led a committee that sought to reform Congress ' rules , and he used this opportunity to try to repeal the gag rule once again . He spent two months building support for this move , but due to northern opposition , the rule narrowly survived . He fiercely criticized northern Congressmen and Senators , in particular Stephen A . Douglas , who seemed to cater to the slave faction in exchange for southern support . His opposition to slavery made him , along with Henry Clay , one of the leading opponents of Texas annexation and the Mexican – American War . He correctly predicted that both would contribute to civil war . After one of his reelection victories , he said that he must " bring about a day prophesied when slavery and war shall be banished from the face of the earth . " Photography . Adams sat for the earliest confirmed photograph still in existence of a U . S . president in 1843 , although other sources contend that William Henry Harrison had posed even earlier for his portrait , in 1841 . The original daguerreotype is in the collection of the National Portrait Gallery of the Smithsonian Institution . Although there is no indication that the two were close , Adams met Abraham Lincoln during the latter ' s sole term as a member of the House of Representatives , from 1847 until Adams ' death . Thus , it has been suggested that Adams is the only major figure in American history who knew both the Founding Fathers and Abraham Lincoln , though Martin Van Buren knew Founding Fathers Thomas Jefferson and his mentor Aaron Burr and met the young Lincoln while on a campaign trip through Illinois . Nullification crisis . Besides his opposition to slavery and the gag rule ( discussed below ) , his congressional career is remembered for several other key accomplishments . Shortly after entering Congress , the Nullification Crisis threatened civil war over the Tariff of 1828 . Adams authored an alteration to the tariff , which weakened it and diffused the crisis . Congress also passed the Force Bill which authorized President Andrew Jackson to use military force if Adams ' compromise bill did not force the belligerent states to capitulate . There was no need , however , because Adams ' compromise defused the issue . The compromise actually did not alter the tariff as much as the southern states had hoped , though they agreed not to continue pursuing the issue for fear of civil war . Adams also became a leading force for the advancement of science . As president , he had proposed a national observatory , which did not win much support . In 1829 British scientist James Smithson died , and left his fortune for the " increase and diffusion of knowledge " . In Smithson ' s will , he stated that should his nephew , Henry James Hungerford , die without heirs , the Smithson estate would go to the government of the United States to create an " Establishment for the increase & diffusion of Knowledge among men " . After the nephew died without heirs in 1835 , President Andrew Jackson informed Congress of the bequest , which amounted to about US $ 500 , 000 ( $ 10 , 100 , 997 in 2008 U . S . dollars after inflation ) . Adams realized that this might allow the United States to realize his dream of building a national institution of science and learning . Adams thus became Congress ' primary supporter of what would become the Smithsonian Institution . He also relentlessly pursued support for astronomical efforts and observatories , seeking a national observatory for the United States . His efforts eventually led to what is now the United States ' oldest , still - operational scientific institution , the United States Naval Observatory . In 1825 Adams signed a bill for the creation of a national observatory just before leaving presidential office – which became the Naval Observatory . Adams in fact spent many nights at the Observatory , with celebrated national astronomer and oceanographer , Matthew Fontaine Maury , watching and charting the stars , which had always been one of Adams ' avocations . As for efforts to found the Smithsonian Institution , the money was invested in shaky state bonds , which quickly defaulted . After heated debate in Congress , Adams successfully argued to restore the lost funds with interest . Though Congress wanted to use the money for other purposes , Adams successfully persuaded Congress to preserve the money for an institution of science and learning . Congress also debated whether the federal government had the authority to accept the gift , though with Adams leading the initiative , Congress decided to accept the legacy bequeathed to the nation and pledged the faith of the United States to the charitable trust on July 1 , 1836 . Death . On February 21 , 1848 , the House of Representatives was discussing the matter of honoring U . S . Army officers who served in the Mexican – American War . Adams firmly opposed this idea , so when the rest of the house erupted into " ayes " , he cried out , " No ! " He rose to answer a question put forth by the Speaker of the House . Immediately thereafter , Adams collapsed , having suffered a massive cerebral hemorrhage . Two days later , on February 23 , he died with his wife and son at his side in the Speaker ' s Room inside the Capitol Building in Washington , D . C . His last words were " This is the last of earth . I am content . " He died at 7 : 20 p . m . His original interment was temporary , in the public vault at the Congressional Cemetery in Washington , D . C . Later , he was interred in the family burial ground in Quincy across from the First Parish Church , called Hancock Cemetery . After Louisa ' s death in 1852 , his son , Charles Francis Adams , had his parents reinterred in the expanded family crypt in the United First Parish Church across the street , next to John and Abigail . Both tombs are viewable by the public . Adams ' original tomb at Hancock Cemetery is still there and marked simply " J . Q . Adams " . Personal life . John Quincy Adams and Louisa Catherine Adams had three sons and a daughter . Their daughter , Louisa , was born in 1811 but died in 1812 while the family was in Russia . They named their first son George Washington Adams ( 1801 – 1829 ) after the first president . Both George and their second son , John ( 1803 – 1834 ) , led troubled lives and died in early adulthood . ( George committed suicide and John was expelled from Harvard before his 1823 graduation . ) Adams ' youngest son , Charles Francis Adams ( who named his own son John Quincy ) , also pursued a career in diplomacy and politics . In 1870 Charles Francis built the first memorial presidential library in the United States , to honor his father . The Stone Library includes over 14 , 000 books written in twelve languages . The library is located in the " Old House " at Adams National Historical Park in Quincy , Massachusetts . John Adams and John Quincy Adams were the first father and son to each serve as president ( the others being George H . W . Bush and George W . Bush ) . Each Adams served only one term as president . Legacy . Adams was the first president to have his photograph taken . He is probably best known as a diplomat who shaped America ' s foreign policy in accordance with his ardently nationalist views , and is widely considered by historians to have been one of the greatest diplomats in American history . He was key to the negotiation of several important treaties , such as the Treaty of Ghent which ended the War of 1812 , and the Florida Treaty which resulted in the annexation of Florida . He also formulated the Monroe Doctrine , which is still evoked to the present day . He is viewed by many as the exemplar and moral leader in an era of modernization . During this era , new technologies and networks of infrastructure and communication brought to the people messages of religious revival , social reform , and party politics , as well as moving goods , money , and people ever more rapidly and efficiently . Though he was always quite hostile to slavery , nearly to be point of being an abolitionist ( although he doubted the abolitionists could successfully end slavery ) , he grew even more hostile to it later in life . Adams became a leading opponent of slave power and articulated a theory whereby the president could abolish slavery by using his war powers , a correct prediction of Abraham Lincoln ' s use of the Emancipation Proclamation in 1863 . Adams predicted the likelihood of the Union ' s dissolution over the slavery issue , and was a key opponent of the Mexican – American War for this reason . Though he later described his presidency as the unhappiest time of his life , scholars rate John Quincy Adams in the second quartile in the majority of historical presidential rankings . One of Adams ' most important legacies is his massive diary , which he began at age 11 with the simple entry " A journal , by me , J . Q . A . " It covers , in extraordinary detail , his life and experiences up to his death in 1848 . The massive fifty volumes are one of the most extensive collections of first - hand information from the period of the early republic , and are cited by historians in a wide range of matters from that period . Historians have often included Adams among the leading conservatives of his day . Russell Kirk , however , sees Adams as a flawed conservative who was imprudent in opposing slavery . Personality . Adams ' personality was much like that of his father , as were his political beliefs . Throughout his life , he always preferred reading in seclusion to social engagements , and several times had to be pressured by others to remain in public service . Historian Paul Nagel argues that , like Abraham Lincoln after him , Adams suffered from depression for much of his life . Early in his life he sought some form of treatment . Adams thought his depression was due to the high expectations demanded of him by his father and mother . Throughout his life he felt inadequate and socially awkward because of his depression , and was constantly bothered by his physical appearance . He was closer to his father , whom he spent much of his early life with abroad , than he was to his mother . When he was younger and the American Revolution was going on , his mother told her children what their father was doing , and what he was risking , and because of this Adams grew to greatly respect his father . His relationship with his mother was rocky ; she had high expectations of him and was afraid her children might end up a dead alcoholic like her brother . As Abigail Adams had feared , John Quincy ' s brother , Charles , would eventually follow this fate . John Quincy fell in love shortly after he finished school , but his mother did not approve , and the relationship ended . When he fell in love with his future wife , Louisa Johnson , his mother likewise disapproved of this relationship as well . Nagel concludes that this disapproval motivated him to marry Johnson , despite Adams ' reservations that Johnson , like his mother , was too strong a personality . Antislavery advocacy . Before 1820 , Adams was best known as an exponent of American nationalism . Later in life , especially after his election to the House , he was famous as the most prominent national leader opposing slavery . He was not an abolitionist , say biographers Nagel and Parsons . Remini notes that Adams thought the end of slavery would come by either civil war or the consent of the slave South , but definitely not through the work of abolitionists . The turning point came with the debate on the Missouri Compromise in 1820 when he broke with his friend John C . Calhoun , who became the most outspoken national leader in favor of slavery . They became bitter enemies . Adams vilified slavery as a terrible evil and preached total abolition , while Calhoun countered that the right to own slaves had to be protected from interference from the federal government to keep the nation alive . Adams said slavery contradicted the principles of republicanism , while Calhoun said that slavery was essential to American democracy , for it made all white men equal . Both men pulled away from nationalism , and started to consider dissolution of the Union as a way of resolving the slavery predicament . Adams predicted that if the South formed a new nation , it would be torn apart by an extremely violent slave insurrection . If the two nations went to war , Adams predicted the president of the United States would use his war powers to abolish slavery . The two men became ideological leaders of the North and the South . In the House Adams became a champion of free speech , demanding that petitions against slavery be heard despite a " gag rule " that said they could not be heard . In 1841 , Adams had the case of a lifetime , representing the defendants in " United States v . The Amistad Africans " in the Supreme Court of the United States . He successfully argued that the Africans , who had seized control of a Spanish ship on which they were being transported illegally as slaves , should not be extradited or deported to Cuba ( a Spanish colony where slavery was legal ) but should be considered free . Under President Martin Van Buren , the government argued the Africans should be deported for having mutinied and killed officers on the ship . Adams won their freedom , with the chance to stay in the United States or return to Africa . Adams made the argument because the U . S . had prohibited the international slave trade , although it allowed internal slavery . He never billed for his services in the " Amistad " case . The speech was directed not only at the justices of this Supreme Court hearing the case , but also to the broad national audience he instructed in the evils of slavery . Adams repeatedly spoke out against the " Slave Power " , that is the organized political power of the slave owners who dominated all the southern states and their representation in Congress . He vehemently attacked the annexation of Texas ( 1845 ) and the Mexican War ( 1846 – 48 ) as part of a " conspiracy " to extend slavery . Film and television . Adams occasionally is featured in the mass media . In the PBS miniseries " The Adams Chronicles " ( 1976 ) , he was portrayed by David Birney , William Daniels , Marcel Trenchard , Stephen Austin , Steven Grover and Mark Winkworth . He was also portrayed by Anthony Hopkins in the 1997 film " Amistad " , and again by Ebon Moss - Bachrach and Steven Hinkle in the 2008 HBO television miniseries " John Adams " ; the HBO series received criticism for needless historical and temporal distortions in its portrayal . image = Jo John Quincy Adams ] at " Find A Grave "