The Illinois attorney general is the highest legal officer of the state of Illinois in the United States. Originally an appointed office, it is now an office filled by statewide election.