On Jan. 1, 1998, an Illinois law took effect allowing the state to commit to an institution any sex offender who’d served their time in prison, but was still found to be a danger to the public. Illinois is one of 20 states with such a law on the books.
From:
WTTW