PHILADELPHIA (AP) — Bill Cosby has been ordered to stand trial in the lone criminal case lodged amid dozens of accusations that he molested women.

The 78-year-old actor faces up to 10 years in prison if convicted of violating the accuser while she was impaired, unconscious or could not give consent.

Cosby is accused of drugging and molesting former Temple University employee Andrea Constand at his suburban Philadelphia mansion in 2004. Prosecutors said Constand was not only impaired, but unconscious after Cosby gave her three unidentified blue pills. Cosby said they engaged in consensual sexual activities, and that he was a friend and mentor to her.

He insists that their sexual encounter at his home was consensual and that she never told him to stop.

Cosby has been free on $1 million bail since his Dec. 30 arrest.

District Judge Elizabeth McHugh found probably cause he was involved in a crime. The judge heard portions of Constand’s police statement read in court.

The Montgomery County case is the only criminal charge facing Cosby, though he is also battling defamation, sex-assault and insurance lawsuits in other states.

Cosby is due back for arraignment on July 20.

(© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)