He represented the state in both the U.S. House of Representatives and the U.S. Senate and twice served as United States Attorney General in the administrations of William Henry Harrison, John Tyler, and Millard Fillmore.