When the State of Maine was admitted into the Union, he was also elected as a Democratic-Republican member to the Seventeenth Congress, and reelected as a Adams-Clay Republican to the Eighteenth Congress (March 4,1821-March 3,1825).
When the State of Maine was separated from Massachusetts and admitted as a State into the Union was elected as a Republican Representative from Maine to the Seventeenth Congress. And reelected as an Adams-Clay Republican to the Eighteenth Congress (March 4,1821-March 3,1825).