(720 ILCS 135/2) (from Ch. 134, par. 16.5)
    Sec. 2. Sentence.
    (a) Except as provided in subsection (b), a person who violates any of the provisions of Section 1, 1‑1, or 1‑2 of this Act is guilty of a Class B misdemeanor. Except as provided in subsection (b), a second or subsequent violation of Section 1, 1‑1, or 1‑2 of this Act is a Class A misdemeanor, for which the court shall impose a minimum of 14 days in jail or, if public or community service is established in the county in which the offender was convicted, 240 hours of public or community service.
    (b) In any of the following circumstances, a person who violates Section 1, 1‑1, or 1‑2 of this Act shall be guilty of a Class 4 felony:
        (1) The person has 3 or more prior violations in the
    
last 10 years of harassment by telephone under Section 1‑1 of this Act, harassment through electronic communications under Section 1‑2 of this Act, or any similar offense of any state;
        (2) The person has previously violated the
    
harassment by telephone provisions of Section 1‑1 of this Act or the harassment through electronic communications provisions of Section 1‑2 of this Act or committed any similar offense in any state with the same victim or a member of the victim's family or household;
        (3) At the time of the offense, the offender was
    
under conditions of bail, probation, mandatory supervised release or was the subject of an order of protection, in this or any other state, prohibiting contact with the victim or any member of the victim's family or household;
        (4) In the course of the offense, the offender
    
threatened to kill the victim or any member of the victim's family or household;
        (5) The person has been convicted in the last 10
    
years of a forcible felony as defined in Section 2‑8 of the Criminal Code of 1961; or
        (6) The person violates paragraph (4.1) of Section
    
1‑1 or paragraph (3.1) of subsection (a) of Section 1‑2.
(Source: P.A. 90‑578, eff. 6‑1‑98; 91‑878, eff. 1‑1‑01.)