Declining another term at the Treasury, Gallatin served as Ambassador to France from 1816 to 1823, struggling with scant success to improve relations with the government during the Bourbon Restoration. In the election of 1824, Gallatin was nominated for Vice President by the Democratic-Republican Congressional caucus. Gallatin never wanted the position and was humiliated when forced to withdraw from the race because he lacked popular support. In 1826 and 1827, he served as the ambassador to Britain and negotiated several agreements, such as a ten-year extension of the joint occupation of Oregon Country. He also became president of the National Bank's branch in New York City. In 1842, Gallatin joined with John Russell Bartlett to found the American Ethnological Society. With his studies of the languages of Native Americans, he has been called "the father of American ethnology."