 Smith was elected as a Democrat to the Thirty-fifth Congress (March 4, 1857 – March 3, 1859).He served as chairman of the Committee on Mileage (Thirty-fifth Congress).He served as paymaster during the Civil War.