Any sex offender, as defined in Section 2 of this Act, or sexual predator, as defined by this Article, who is released on probation or discharged upon payment of a fine because of the commission of one of the offenses defined in subsection (B) of Section 2 of this Article, shall, prior to such release be informed of his or her duty to register under this Article by the Court in which he or she was convicted. The Court shall also inform any person who must register that if he or she establishes a residence outside of the State of Illinois, is employed outside of the State of Illinois, or attends school outside of the State of Illinois, he or she must register in the new state within 3 days after establishing the residence, beginning employment, or beginning school. The Court shall require the person to read and sign such form as may be required by the Illinois State Police stating that the duty to register and the procedure for registration has been explained to him or her and that he or she understands the duty to register and the procedure for registration. The Court shall further advise the person in writing that the failure to register or other violation of this Article shall result in probation revocation. The Court shall obtain information about where the person expects to reside, work, and attend school upon his or her release, and shall report the information to the Illinois State Police. The Court shall give one copy of the form to the person and retain the original in the court records. The Illinois State Police shall notify the law enforcement agencies having jurisdiction where the person expects to reside, work and attend school upon his or her release.
730 ILCS 150/5