Private practice, Quincy, Illinois, 1829-U.S. attorney for the District of Illinois, 1849-1853State representative, IllinoisState senator, Illinois