CLEVELAND, Ohio – A former Cleveland police officer admitted Wednesday that he videotaped himself having sex with a 15-year-old girl.

Charles Locke, 42, pleaded guilty in Cuyahoga County Common Pleas Court to five counts of pandering sexually oriented matter involving a minor, two counts of unlawful sexual conduct with a minor and one count of possessing criminal tools.

By Locke pleading guilty, prosecutors agreed to dismiss seven charges, including sexual battery.

He could face more than eight years in prison when Judge Carolyn Friedland sentences him Nov. 19. Friedland said psychological reports indicate Locke was sane at the time of the offenses and was competent to help his attorney, Deanna Robertson, in his defense.

Locke served seven years as a patrolman in Cleveland. He was indicted in July on the charges.

In court documents filed this summer, Chris Schroeder, an assistant Cuyahoga County prosecutor, said Locke had sex with the girl several times, including at least two occasions in which the officer used his cell phone to videotape the incidents.

In one of those videotapes, Locke wore his police uniform, prosecutors said.

"Charles Locke is a police officer who had sex with a child while wearing his uniform," the prosecutor wrote. "Entrusted with protecting the people of Cleveland, Locke betrayed that trust and took advantage of one of the city's most vulnerable citizens to sexually gratify himself.''

Locke has been suspended without pay since his arrest on July 10. Locke joined the police department in October 2007. A few years later, he gained notoriety by arresting Cleveland serial killer Anthony Sowell in 2009. He later testified in the case.