 He was a member of the New Hampshire House of Representatives from 1797–1799 and a member of the New Hampshire Senate from 1801–1803.Elected as a Federalist candidate to the Eighth and Ninth Congresses, he served as a United States Representative for New Hampshire from March 4, 1803 to March 3, 1807.After leaving Congress, he resumed the practice of law.