The color, race, sex, nationality, religion or religious affiliation of any applicant seeking employment either as a superintendent, principal, teacher or otherwise in the public elementary or high schools, shall not be considered either a qualification or disqualification for any such employment. Nor shall color, race, sex, nationality, religion or religious affiliation be considered in assigning any person to an office or position or to any school in the school system. If any member of a school board, superintendent, principal or other school officer violates the foregoing provision or directly or indirectly requires, asks or seeks information concerning the color, race, sex, nationality, religion or religious affiliation of any person in connection with his employment or assignment, or if any person, agency, bureau, corporation or association employed or maintained to obtain or aid in obtaining employment of the kind described, directly or indirectly requires, asks, seeks, indicates or transmits orally or in writing information concerning the color, race, sex, nationality, religion or religious affiliation of an applicant for such employment, with the intent to influence such appointment, he shall be liable to a penalty of not less than $100 nor more than $500, to be recovered by the person aggrieved thereby in any court of competent jurisdiction, and he shall be guilty of a Class B misdemeanor.
105 ILCS 5/24-4