 He was a prosecuting attorney of Somerset County from 1811 to 1823.He was elected as an Adams-Clay Democratic-Republican to the Eighteenth Congress and re-elected as an Adams candidate to the Nineteenth Congress.He served from March 4, 1823 to March 3, 1827.