Former volleyball coach Frank Hoy was hoping for a guarantee of a probation sentence from a Cumberland County judge when he pleaded guilty to a corruption of minors charge Tuesday.

The best he got from Judge Albert H. Masland was a qualified maybe.

Hoy, 22, of Mechanicsburg, was arrested by borough police on corruption and institutional sexual assault charges last fall. The counts stemmed from his time as an assistant girls' volleyball coach at Mechanicsburg Area Senior High School.

Assistant District Attorney Courtney Hair LaRue said that in November 2016 Hoy had a consensual sexual relationship with a 17-year-old female player. That corrupted the girl's morals, LaRue said, because of the age difference and the coach-player relationship.

Although LaRue said Hoy and his lawyers, Corky Goldstein and Shawn Stottlemyer, had negotiated a plea deal for the 2-year-probation term, Masland refused to accept that as a definite.

Instead, he said he would take the probation recommendation under advisement and make a final call on sentencing only after reviewing Hoy's presentencing report and hearing from the victim.

Hoy accepted that and pleaded guilty, even without a guaranteed sentence. As LaRue noted, the corruption of minors count carries a possible penalty of up to 5 years in prison and a $10,000 fine. Masland is to sentence Hoy next month.

Borough police arrested Hoy after school officials reported accusations that he had sexual relations with a student. District officials said Hoy was suspended from his coaching post and later resigned.