Identifying himself with the Democratic party, he served in the state House of Representatives in 1848, and was a prominent member of the convention for the revision of the state constitution in 1850-1851, a representative in Congress (1851-18s5), commissioner of the United States General Land Office (1855-1859), a United States senator (1863-1869), and governor of Indiana (1873-1877).