The below are the Pennsylvania evidentiary rules on prior bad acts for those who may be interested:
Crimes, Wrongs or Other Acts.
(1) Prohibited Uses. Evidence of a crime, wrong, or other act is not admissible to prove a person’s character in order to show that on a particular occasion the person acted in accordance with the character.
(2) Permitted Uses. This evidence may be admissible for another purpose, such as proving motive, opportunity, intent, preparation, plan, knowledge, identity, absence of mistake, or lack of accident. In a criminal case this evidence is admissible only if the probative value of the evidence outweighs its potential for unfair prejudice.