 Smith was elected as a Democrat to the Twenty-sixth Congress (March 4, 1839 – March 3, 1841).He was an unsuccessful candidate for reelection in 1840 to the Twenty-seventh Congress.He died in Boston, Massachusetts, on May 29, 1867.