 He was elected enrolling and engrossing clerk of the Illinois House of Representatives in 1840 and 1842.Smith was elected as a Democrat to the Twenty-eighth and Twenty-ninth Congresses and reelected as an Independent Democrat to the Thirtieth Congress (March 4, 1843 – March 3, 1849).He served as chairman of the Committee on Roads and Canals (Twenty-ninth Congress).