Riverside County Sheriff Chad Bianco said Deputy Isaiah Cordero, who was shot and killed during a traffic stop in Jurupa Valley Thursday, would still be alive if a San Bernardino County judge had sentenced the suspected shooter in 2021 instead of reducing his bail.

“We would not be here today if the judge had done her job,” Bianco said during a Thursday evening news conference where he identified the suspect as 44-year-old San Bernardino County resident William Shae McKay.

“This terrible tragedy should’ve been prevented by the legal system,” said Bianco. “McKay has an extensive, violent past and was convicted of his third strike in November 2021. That case involved kidnapping and assault with a deadly weapon. Instead of sentencing him to 25 years to life, which should’ve happened, the judge lowered his bail, allowing him to be released.”

Bianco said the same judge released McKay again after he was arrested for failing to appear at his sentencing along with additional criminal charges.

Bianco chose not to further identify the judge when asked during the news conference. “I’m not going to release that name … it’s a San Bernardino County Judge,” he said.

Cordero, 32, was killed while conducting a traffic stop around 2 p.m. on Golden West Avenue.

Bianco said the suspect produced a gun and shot Cordero as he approached the vehicle.

A witness called 911 and attempted to help Cordero as they waited for emergency personnel to get to the scene.

McKay was later located in San Bernardino County and led authorities on a pursuit back into Riverside County where his vehicle was disabled after running over a spike strip.

He then fired at deputies who returned fire, killing McKay, Bianco said.

McKay had an “extensive criminal history” and “violent past” including charges of kidnapping, robbery and multiple assaults, including the stabbing of a California Highway Patrol K-9, according to Bianco.

Deputy Cordero was hired by the Sheriff’s Department in 2014 and was recently promoted to motorcycle enforcement.

Bianco said he was “deeply heartbroken” over the death of Cordero, who had an older step brother and is survived by his mother and father.