 He took a special interest in the construction of the Chesapeake and Ohio Canal.He was then elected as a Federalist to the Eleventh Congress and to the three succeeding Congresses (March 4, 1809 – March 3, 1817).He was an associate of Thomas Jefferson in the establishment of the University of Virginia and served as brigadier general in the War of 1812.