He was an unsuccessful candidate for election in 1838 to the Twenty-sixth Congress. He was elected as a Whig to the Twenty-seventh Congress and served until his death in Washington, D.C. He served as chairman of the United States House Committee on Roads and Canals during the Twenty-seventh Congress.
In 1838, he failed to secure election for the Twenty-sixth Congress. However, as a Whig, he was elected to the Twenty-seventh Congress and served until his death in Washington, D.C. During his tenure, he chaired the United States House Committee on Roads and Canals.