Updated

The Atlanta courthouse gunman who killed a judge and three other people avoided a death sentence Friday when jurors failed to reach a unanimous decision on his sentence.

Under Georgia law, Superior Court Judge James Bodiford must sentence Brian Nichols to life, and will decide only whether that will include the possibility of parole. A hearing is scheduled for Saturday morning. It is likely Nichols would spend the rest of his life behind bars regardless of the decision.

Prosecutors had urged jurors to sentence Nichols to death after he was convicted last month of murder and dozens of other counts in the 2005 killings.

The 37-year-old was on trial for rape when he grabbed a guard's gun and fatally shot the judge, a court reporter and a sheriff's deputy in the courthouse. He fled and killed a federal agent in an Atlanta neighborhood.

Click here for photos.

Anything short of death sentence was viewed as a failure for prosecutors. They turned down an offer by Nichols' attorneys last year for him to plead guilty to the murder charges if the state took the death penalty off the table. Both sides have spent millions of dollars since in legal fees to try the case.

Death sentences in Georgia require a unanimous jury decision.