 He studied law, was admitted to the bar, and commenced practice in Portland, Maine, in 1817.He served as member of the Maine House of Representatives in 1820.He was United States Marshal for the district of Maine 1830–1838.