 He served as captain of a company that went from Beaver to help defend the northern frontier from a threatened British invasion in 1814.He was elected a member of the Pennsylvania House of Representatives in 1815.He served as prothonotary and clerk of courts from 1816 to 1821, and was elected sheriff of the county in 1821.