 He held several local offices and was a member of the Virginia House of Delegates from 1843 to 1849.He was elected a Democrat to the United States House of Representatives in 1848, serving from 1849 to 1859.After being unsuccessful for reelection in 1858, he returned to the House of Delegates in 1863 and 1864.