The California Supreme Court overturned the death penalty sentence for Scott Peterson, who was found guilty of murdering his pregnant wife in a highly publicized case, based on judicial error.
Scott Peterson, 47, was convicted in 2004 of one count of first-degree murder for killing his wife, Laci Peterson -- who was nearly 8 months pregnant at the time -- and one count of second-degree murder for killing their unborn son.
Laci Peterson, 27, disappeared on Christmas Eve 2002. The bodies of Laci and her unborn son were found in San Francisco Bay in April 2003.
MORE: Scott Peterson breaks his silence on his murder conviction: 'I had no idea it was coming'In a written decision Monday, the court upheld Scott Peterson's guilty judgment.
"Peterson contends his trial was flawed for multiple reasons, beginning with the unusual amount of pretrial publicity that surrounded the case," the court said. "We reject Peterson's claim that he received an unfair trial as to guilt and thus affirm his convictions for murder."
But the court did note that "the trial court made a series of clear and significant errors in jury selection that, under long-standing United States Supreme Court precedent, undermined Peterson's right to an impartial jury at the penalty phase."
The court said it was required to reverse the death sentence after determining that the trial court "erroneously dismissed" prospective jurors who said they opposed the death penalty, "even though the jurors gave no indication that their views would prevent them from following the law."
"We are grateful for the California Supreme Court's unanimous recognition that if the state wishes to put someone to death, it must proceed to trial only with a fairly selected jury," Cliff Gardner, Scott Peterson's appellate attorney, said in a written statement.
MORE: What police found in Scott Peterson's car after Laci Peterson's body was discoveredThe Stanislaus County prosecutor, Birgit Fladager, can decide to retry the penalty phase, though a decision will not likely be made until the court decides on Scott Peterson's pending habeas petition.
"[While] we are disappointed that such a biased jury selection process results in a reversal of only the death sentence, we look forward to the Court's review of the new forensic and eyewitness evidence of innocence," Gardner continued in the statement.
The family of Scott Peterson said in a statement that they were grateful the court "recognized the injustice of Scott’s death penalty."
"For a long and difficult 18 years, we have believed unwaveringly in Scott’s innocence, so today’s decision by the court is a big step toward justice," they said.
The Stanislaus County District Attorney's Office declined to comment on the decision.
Sharon Rocha, Laci Peterson's mother, also declined to comment.
Laci Peterson was last seen at her family home in Modesto, California. Scott Peterson reported his wife missing on Dec. 24, 2002. Meanwhile, his mistress, Amber Frey, secretly worked with police to help convict him. A jury unanimously found him guilty of murdering his wife and unborn child, and a judge sentenced him to die by lethal injection. He has since remained behind bars on death row at the San Quentin State Prison.
MORE: Amber Frey remembers recorded calls with Scott Peterson: 'I was shaking'Frey, in a statement released through her attorney, Gloria Allred, to ABC News, said she was "relieved" the court did not reverse Scott Peterson's convictions for murder. As for seeking the death penalty again, "the District Attorney should consult with Laci's family and honor their decision," she said.
In a 2017 A&E documentary series, "The Murder of Laci Peterson," Scott Peterson described the moment he heard his guilty verdict.
"It was crazy, just this amazing, horrible, physical reaction I had," he said. "I couldn't feel my feet on the floor. I couldn't feel the chair I was sitting in. My vision got a little blurry."
MORE: California justices toss death penalty for Scott PetersonCalifornia's last execution was in 2006, under Gov. Arnold Schwarzenegger. Last year, Gov. Gavin Newsom issued a moratorium on executions while he is in office.