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