 He was elected as an Adams candidate to the Nineteenth and Twentieth Congresses.He was an unsuccessful candidate for reelection in 1828 to the Twenty-first Congress.He was again a member of the Pennsylvania House of Representatives from 1834 to 1836.