The former Vice Principal of Pennbrook Middle School got way too friendly with one of his students, according to prosecutors.

Charles Hurst is accused of first encouraging the 13-year-old boy to masturbate and then setting up a reward system where Hurst would pay an extra dollar toward the victim's allowance each time the boy would tell or text Hurst that he'd masturbated.

Hurst met the boy at school and the two spent a lot of personal time together, according to Montgomery County prosecutors.

The two allegedly worked out together, went on distance runs and took trips to the mountains to ski. Hurst gave the boy an allowance and also helped him with his studies, investigators say.

Prosecutors say Hurst was very generous to the teen's family and routinely bought stuff for the victim.

The boy, now 14, told investigators that Hurst said masturbating would help him grow and make him smarter and happy, prosecutors say.

Text messages were found on the teen's phone that confirmed masturbation conversations between Hurst and the victim "as well as the inappropriateness of the relationship with him," according to a press release from the prosecutor's office.

Hurst no longer works for Pennbrook.

A statement on the school's website reads:

"The safety and emotional wellbeing of our students is of the utmost importance to the school district. Thus, the news that former employee Charles Hurst was charged with crimes involving a student is met with great concern. The district is working cooperatively with the Montgomery Township Police Department as they investigate the matter further."

Hurst was hired by the Lower Moreland school district as an assistant principal earlier this year.

He was scheduled for arraignment Friday on charges of endangering the welfare of a child, corruption of a minors and possession of cocaine.