FAIRMONT, W.Va. (AP) — A former police officer in West Virginia has pleaded guilty to bribery in an official manner for having sex with a woman in exchange for not giving her a ticket.

The Times West Virginian reports that Marcus Slauer, a former officer with the Farmington Police Department, received a suspended sentence of one to 10 years in prison on Monday, with three years' probation. Marion County prosecuting attorney Jeff Freeman says the state made a deal with Slauer at the request of the victim and her family, as the woman didn't want to testify in a trial about the extracted sex acts, which the criminal complaint says took place at the police station.