 He moved to Norristown, studied law, was admitted to the bar in 1810 and commenced the practice of law.He was deputy State’s attorney for Pennsylvania 1819 and 1820 and a member of the Pennsylvania State Senate for the 7th district from 1820 to 1823.He was elected as a Jackson Republican to the Eighteenth Congress and reelected as an Adams Party candidate to the Nineteenth Congress.