Ill. R. Evid. 404
Comment
Evidence of character or a trait of character of a person for the purpose of proving that the person acted in conformity therewith on a particular occasion is not admissible, except in a criminal case to the extent provided for under Rule 404(a)(1) (regarding the character of the accused), and under Rule 404(a)(2) (regarding the character of the alleged victim). Rule 404(b) renders inadmissible evidence of other crimes, wrongs, or acts to prove the character of a person in order to show action in conformity therewith, but allows proof of other crimes, wrongs, or acts where they are relevant under statutes related to certain criminal offenses, as well as for other purposes, such as proof of motive, opportunity, intent, preparation, plan, knowledge, identity, or absence of mistake or accident.