 He was elected to the Massachusetts House of Representatives in 1809, later winning election to the Massachusetts Senate in 1814 through 1815.In 1816, he was elected to the United States House of Representatives from Massachusetts, serving in that body until 1821.He was then reelected to the Massachusetts State Senate, and served there through 1825.