Obama is a Democratic Party lawmaker representing the midwestern U.S. state of Illinois .