SACRAMENTO, Calif. (AP) — A judge on Wednesday temporarily halted California’s plans to speed the potential prison release dates for repeat offenders with serious and violent criminal histories under the state’s “three strikes” law.

California corrections officials had filed emergency regulations to boost good conduct credits for second-strike inmates serving time for nonviolent offenses who are housed at minimum-security prisons and camps.

READ MORE: On Anniversary Of Roe V. Wade, Governor Newsom And First Partner Siebel Newsom Affirm California’s Commitment To Reproductive Freedom

Their daily credits were to have increased from half off their sentences to two-thirds off their sentences starting with the new year Saturday.

Twenty-eight of California’s 58 district attorneys moved to block the rule.

A Sacramento County judge imposed a temporary restraining order barring the change until a hearing next month.

READ MORE: Carjacking in Stockton Park District Friday Evening

The prosecutors argued that it would apply to those convicted of, among other things, domestic violence, human trafficking, animal cruelty and possession of weapons by inmates who have previous convictions for serious and violent felonies. California has a narrow definition of what constitutes a violent crime.

Prison officials did not immediately comment.

“Many of these so-called nonviolent second-strikers have long and violent criminal histories — including repeat felony domestic violence convictions, sexual assaults and gun violence,” said Sacramento County District Attorney Anne Marie Schubert.

She led the effort and is running for state attorney general on a law-and-order platform. The prosecutors did not oppose related changes in how good conduct credits are awarded to inmate firefighters.

MORE NEWS: Governor Newsom Statement On Death Of Elk Grove Police Officer

“No one is contesting good conduct credits for fire camp work, but sneaking in another class of individuals with serious and violent criminal histories goes too far,” Schubert said.