11 years from 1997 - 2008.
- Barack Obama was elected to the Illinois Senate in 1996, succeeding State Senator Alice Palmer as Senator from Illinois's 13th District, which at that time spanned Chicago South Side neighborhoods from Hyde Park – Kenwood south to South Shore and west to Chicago Lawn. He started this role in 1997.
- Barack Obama became a United States Senator from Illinois in 2004. He served in the US Senate from 2005 until 2008, when he resigned from his Senate seat to focus on his Presidency campaign.