§ 6301. Corruption of minors.
(a) Offense defined.--
(1) (i) Except as provided in subparagraph (ii), whoever, being of the age of 18 years and upwards, by any act corrupts or tends to corrupt the morals of any minor less than 18 years of age, or who aids, abets, entices or encourages any such minor in the commission of any crime, or who knowingly assists or encourages such minor in violating his or her parole or any order of court, commits a misdemeanor of the first degree.
(ii) Whoever, being of the age of 18 years and upwards, by any course of conduct in violation of Chapter 31 (relating to sexual offenses) corrupts or tends to corrupt the morals of any minor less than 18 years of age, or who aids, abets, entices or encourages any such minor in the commission of an offense under Chapter 31 commits a felony of the third degree.