SACRAMENTO, Calif. — A woman has pleaded no contest to evading police and illegally driving a vehicle during a vehicle theft investigation where a deputy was killed.

Sacramento County District Attorney’s spokeswoman Shelly Orio said Thursday that Priscilla Prendez was sentenced Wednesday to three years and eight months in state prison.

The 23-year-old Oakland woman was charged with leading police on a roughly 20-mile (32-kilometer) chase in August in a stolen car.

When police checked the Sacramento hotel room registered in Prendez’s name, they were confronted by 32-year-old Thomas Daniel Littlecloud. Authorities say he fired a high-powered rifle at officers, wounding two California Highway Patrol officers and killing Sacramento County sheriff’s Deputy Robert French.

Littlecloud later died of his injuries.

Prendez has two prior vehicle theft convictions.