Anderson was elected to the
Kentucky House of Representatives in 1815 and then was elected as a
Democratic-Republican to the
United States House of Representatives in 1816 and 1818, serving in the Fifteenth and Sixteenth Congresses from March 4, 1817, through March 3, 1821. In 1824 he negotiated with
Pedro Gual and concluded the
Anderson–Gual Treaty, the first bilateral treaty that the U.S. signed with another
American state. Anderson took his leave from his post on June 7, 1825, after being commissioned as Envoy Extraordinary and Minister Plenipotentiary to the
Panama Congress of Nations. Anderson died en route to his post in Turbaco, near
Cartagena, Colombia on July 24, 1826. He is buried at Soldier's Retreat.
Legacy Anderson County, Kentucky is named in his honor. ==References==