LOS ANGELES — A Pacoima woman who was under the influence of cocaine when she crashed her SUV into an LAPD motorcycle officer, who had dedicated his career to taking drunken drivers off the road, was sentenced today to 15 years to life in state prison.

Superior Court Judge Richard Kirschner imposed the term on Qaneak Shaney Cobb, 37, who pleaded no contest to second-degree murder on Oct. 19.

Cobb’s Chevrolet Blazer struck Officer Christopher Cortijo’s motorcycle from behind while he was stopped at a red light at Lankershim Boulevard and Saticoy Street in Sun Valley on April 5, 2014. He was en route to assist another officer with a DUI stop at the time, according to Deputy District Attorney Garrett Dameron.

Cobb was driving more than 60 mph before she started to apply the brakes, the prosecutor said, noting that the Blazer was traveling at 53 mph at the time of impact, which left the officer trapped between the Cobb’s SUV and a Honda Accord that was in front of him.

Cortijo was twice named officer of the year and was credited with being involved in the arrests of more than 3,000 suspected drunken drivers in the San Fernando Valley.

The 51-year-old former Marine had been nearing retirement from the police force and had agreed to work on what was supposed to be a day off, Dameron said.

Thousands of uniformed officers joined relatives and friends at his funeral at the Cathedral of Our Lady of the Angels. A year after his death, Los Angeles City Councilman Paul Krekorian and LAPD officers were on hand as a sign was unveiled that names the intersection of Van Nuys Boulevard and Arminta Street as “Officer Chris Cortijo Memorial Square” in his honor.

Cobb, who has remained behind bars since the crash, had been awaiting trial when she entered her plea. She could have faced up to 25 years to life in state prison had she been convicted as charged, the prosecutor said.

As a result of Cobb’s plea, two other charges against her — a felony count of vehicular manslaughter while intoxicated and a misdemeanor count of possession of cocaine — were dismissed.