The decision by U.S. District Court Judge Cormac J. Carney represents a legal victory for those who want to abolish the death penalty in California and follows a similar ruling that has suspended executions in the state for years.

Ruling in a case brought against the warden of San Quentin state prison by Ernest Dewayne Jones, who was condemned in 1994, Carney called the death penalty an empty promise.

“Inordinate and unpredictable delay has resulted in a death penalty system in which very few of the hundreds of individuals sentenced to death have been, or even will be, executed by the State,” Carney wrote.

He continued, writing that “arbitrary factors, rather than legitimate ones like the nature of the crime or the date of the death sentence, determine whether an individual will actually be executed.”

Another federal judge put California’s death penalty on hold in 2006 when he ruled its lethal injection procedures needed overhaul.

The judge found that the state’s procedures created too much risk that an inmate would suffer extreme pain while being executed. At that time, lethal injections were carried out in San Quentin’s old gas chamber, which the judge found too cramped, too dark and too old for prison staff to properly administer execution drugs.

Since then, the California Department of Corrections and Rehabilitation has built a new execution chamber on the grounds of San Quentin in Northern California and made a number of changes to its procedures to address the judge’s concerns.

A new federal judge has taken over the case and has not ruled on whether those changes are enough to restart executions.

Additionally, the corrections department is drafting a new set of regulations for administering lethal injections. No executions can take place until the new regulations are formally adopted.