how many years did pres obama serve in the illinois senate?
He was a member of the Illinois Senate from January 8, 1997 - November 4, 2004: seven years.