Photo Credit: OCSD

SANTA ANA, Calif. (AP) — A Southern California judge has refused to order the district attorney's office to recuse itself or to take the death penalty off the table in the case of a man who admitted killing eight people at an Orange County hair salon.

In a ruling that comes after weeks of hearings on the district attorney's use of jailhouse informants, Judge Thomas Goethals acknowledged misconduct from prosecutors Monday.

But the judge said it did not warrant the two things requested by an attorney for Scott Dekraai, who has already pleaded guilty but has yet to be sentenced: The recusal of the district attorney in the case or the removal of the death penalty from consideration.

The judge said the proper remedy was to exclude the use of in-custody statements by Dekraai, something prosecutors had already agreed to do.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)