A man who spent more than two decades on Delaware's death row has been freed, but prosecutors still hope to revive their murder case against him.

Forty-two-year-old Jermaine Wright walked out of prison and into the arms of his mother Friday.

A judge earlier ruled that prosecutors could not use a confession Wright gave to police following the 1991 killing of a liquor store clerk. Prosecutors dismissed the charges against Wright last week in order to appeal the judge's ruling to Delaware's Supreme Court, and Wright was freed — for now.

The judge had noted that Wright was under the influence of heroin and not properly advised of his rights during the police interrogation that resulted in the confession. Prosecutors relied heavily on the confession at Wright's 1992 murder trial.