Private practice, Harrisonburg, Virginia, -1837U.S. representative from Virginia, 1837-1839U.S. senator from Virginia, 1845-1847