LOS ANGELES (AP) — A former Los Angeles County sheriff’s deputy has been sentenced to nine years in prison for raping a woman while on duty and trying to get another to have sex with him.

Jose Rigoberto Sanchez, 29, was sentenced Friday and ordered to register as a sex offender.

READ MORE: Mobley Leads No. 20 USC To 93-73 Victory Over Utah

Prosecutors say that in 2010, Sanchez stopped a driver in Palmdale who had a warrant. Authorities say he offered not to arrest the 24-year-old woman in exchange for sex, then drove her to the desert and raped her.

READ MORE: Anaheim Ducks Hold Off Vegas Golden Knights For Wild 6-5 Win

Prosecutors say two nights later, he solicited a bribe in the form of sex acts from a 36-year-old woman who was suspected of drunken driving.

Sanchez pleaded no contest last month to rape under color of authority and soliciting a bribe.

MORE NEWS: Jacqueline Avant, Wife Of Music Executive Clarence Avant, Found Shot To Death In Beverly Hills Home Invasion

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