By CBSLA Staff

VAN NUYS (CBSLA) — A 39-year old rideshare driver was sentenced Tuesday to six years in state prison for sexually assaulting a Los Angeles woman two years ago, the Los Angeles County District Attorney’s Office announced.

Octavio Alvarez Gomez of Canoga Park was also ordered to register as a sex offender for the rest of his life, according to Deputy District Attorney Ranna Jahanshahi.

READ MORE: CHiPs For Kids Toy Drive Kicks Off For 2021

Alvarez Gomez pleaded no contest last month to one felony count of rape of an unconscious person.

On Oct. 2, 2018, Gomez, who drove for both Lyft and Uber but was driving for Lyft that night, picked up the victim from a bar after she ordered a ride to take her home.

READ MORE: Group Running Free Mini Train Rides In Costa Mesa Gets $15,000 To Repair Vandalized Junction

Instead of dropping off the victim at the requested location, Alvarez Gomez continued driving some distance at which time he stopped his vehicle in a secluded area and raped the victim, the prosecutors said.

Police eventually tracked Alvarez Gomez down last September and arrested him while he was driving for Lyft. He was booked on suspicion of kidnapping with the intent to commit a sexual assault, rape, sexual penetration with a foreign object and felony sexual battery.

MORE NEWS: Massive Warehouse Fire Likely Caused Foul Odor In Carson, Authorities Say

He has remained behind bars since then.