§ 135.04 AIDING ESCAPE.
   (A)   Whoever, with intent to aid any prisoner in escaping from any penal institution, conveys into the institution, or transfers to the prisoner anything for use in escaping commits a misdemeanor.
   (B)   Whoever knowingly aids a person convicted of a misdemeanor or charged with the commission of a misdemeanor, or charged with or adjudicated delinquent for an act which, if committed by an adult, would constitute a misdemeanor, in escaping from any penal institution or from the custody of an employee of that institution commits a misdemeanor. Whoever knowingly aids a person convicted of a misdemeanor or charged with the commission of a misdemeanor, or charged with or adjudicated delinquent for an act which, if committed by an adult, would constitute a misdemeanor, in failing to return from furlough or from work and day release is guilty of a misdemeanor.
   (C)   Whoever knowingly aids a person in escaping from any public institution, other than a penal institution, in which he is lawfully detained, or from the custody of an employee of that institution, commits a misdemeanor.
   (D)   Whoever knowingly aids a person in the lawful custody of a peace officer in escaping from custody commits a misdemeanor.
   (E)   An officer or employee of any penal institution who recklessly permits any prisoner in his custody to escape commits a misdemeanor.
   (F)   With respect to a person who is in the lawful custody of a peace officer for an alleged violation of a term or condition of supervision, probation, or conditional discharge for a misdemeanor, whoever intentionally aids that person to escape from that custody is guilty of a misdemeanor.
   (G)   A person who violates division (B), (C), (E), or (F) above while armed with a dangerous weapon commits a felony and shall be prosecuted under appropriate state law.
(ILCS Ch. 720, Act 5, § 31-7) Penalty, see § 130.99