In 1830, his family moved to Macon County in southern Illinois, and Lincoln got a job working on a river flatboat hauling freight down the Mississippi River to New Orleans. After settling in the town of New Salem, Illinois, where he worked as a shopkeeper and a postmaster, Lincoln became involved in local politics as a supporter of the Whig Party, winning election to the Illinois state legislature in 1834.