(720 ILCS 5/11-9.1) (from Ch. 38, par. 11-9.1)
    Sec. 11-9.1. Sexual exploitation of a child.
    (a) A person commits sexual exploitation of a child if in the presence or virtual presence, or both, of a child and with knowledge that a child or one whom he or she believes to be a child would view his or her acts, that person:
        (1) engages in a sexual act; or
        (2) exposes his or her sex organs, anus or breast for
    
the purpose of sexual arousal or gratification of such person or the child or one whom he or she believes to be a child.
    (a-5) A person commits sexual exploitation of a child who knowingly entices, coerces, or persuades a child to remove the child's clothing for the purpose of sexual arousal or gratification of the person or the child, or both.
    (b) Definitions. As used in this Section:
    "Sexual act" means masturbation, sexual conduct or sexual penetration as defined in Section 11-0.1 of this Code.
    "Sex offense" means any violation of Article 11 of this Code or Section 12-5.01 of this Code.
    "Child" means a person under 17 years of age.
    "Virtual presence" means an environment that is created with software and presented to the user and or receiver via the Internet, in such a way that the user appears in front of the receiver on the computer monitor or screen or hand held portable electronic device, usually through a web camming program. "Virtual presence" includes primarily experiencing through sight or sound, or both, a video image that can be explored interactively at a personal computer or hand held communication device, or both.
    "Webcam" means a video capturing device connected to a computer or computer network that is designed to take digital photographs or live or recorded video which allows for the live transmission to an end user over the Internet.
    (c) Sentence.
        (1) Sexual exploitation of a child is a Class A
    
misdemeanor. A second or subsequent violation of this Section or a substantially similar law of another state is a Class 4 felony.
        (2) Sexual exploitation of a child is a Class 4
    
felony if the person has been previously convicted of a sex offense.
        (3) Sexual exploitation of a child is a Class 4
    
felony if the victim was under 13 years of age at the time of the commission of the offense.
        (4) Sexual exploitation of a child is a Class 4
    
felony if committed by a person 18 years of age or older who is on or within 500 feet of elementary or secondary school grounds when children are present on the grounds.
(Source: P.A. 96-1090, eff. 1-1-11; 96-1098, eff. 1-1-11; 96-1551, eff. 7-1-11; 97-333, eff. 8-12-11; 97-1150, eff. 1-25-13.)