Original: Obama served three terms in the Illinois Senate from 1997 to 2004.
Simplified: He was state senator from 1997 to 2004.