 He was elected as a Whig to the Thirty-second Congress (March 4, 1851 – March 3, 1853) but was an unsuccessful candidate for reelection in 1852 to the Thirty-third Congress.After leaving Congress, he was nominated for Governor of New Hampshire in 1854 but died before the election.In addition, he was also appointed justice of the peace in 1854 and served until his death in Nashua in 1854.