 He was elected to the Fifteenth Congress (March 4, 1817 – March 3, 1819).He was an unsuccessful candidate for renomination in 1818.He engaged in the practice of law until his death in Belfast, Maine, August 9, 1848.