 He served in the Maryland State Senate, and was elected as an Anti-Jacksonian to the Twenty-first and Twenty-second Congresses, serving from March 4, 1829 to March 3, 1833.He was again a member of the Maryland House of Delegates in 1842 and 1843.He lived in retirement until his death at Oak Lawn in Prince George's County.