SYCAMORE, Ill. --A 76-year-old man from Washington state who a prosecutor says was wrongly convicted in the abduction and killing of a 7-year-old Illinois schoolgirl in 1957 will be released from prison, a judge ordered Friday.

WATCH: "48 Hours:" Cold as Ice

The hearing, presided over by Judge William P. Brady, was held in Sycamore, about 70 miles west of Chicago and near where Maria Ridulph was abducted as she played in the snow. Forest hikers found the girl's remains five months later.

In 2012, another judge convicted Jack McCullough in Maria's death, in one of the oldest unsolved U.S. cases ever to go to trial. McCullough was sentenced to life in prison.

Get Breaking News Delivered to Your Inbox

McCullough, in handcuffs, appeared shaken by the judge's decision at first, rocking back and forth, then taking a deep breath. Family members behind him hugged and cried. Moments later, McCullough looked back and smiled broadly.

On the other side of the room, Maria's brother and sister displayed little emotion as the hearing ended.

Brady said McCullough would be released Friday.

The judge pointed to several factors in his decision, including records that support McCullough's long-held contention that he was about 40 miles away from Sycamore when Maria was abducted. That evidence included newly discovered phone records.

It wasn't clear until the last minute the Brady would rule as he did.

"Rest assured I am not trying this case ... You will not hear the words, 'Mr. McCullough is guilty' or 'Mr. McCullough is not guilty' coming from my mouth."

Brady's ruling was prompted by a six-month review of evidence conducted by DeKalb County State's Attorney Richard Schmack after the 2012 conviction. Schmack concluded that McCullough could not have killed Maria.

Maria's disappearance made headlines nationwide in the 1950s, when reports of child abductions were rare.

She had been playing outside in the snow with a friend on Dec. 3, 1957, when a young man approached, introduced himself as "Johnny" and offered them piggyback rides. Maria's friend dashed home to grab mittens, and when she came back, Maria and the man were gone.

At trial, prosecutors said McCullough was Johnny, because he went by John Tessier in his youth. They said McCullough, then 18, dragged Maria away, choked and stabbed her to death.

Schmack, who wasn't involved in McCullough's case and was elected to the state's attorney post as McCullough's trial came to an end, filed a scathing report with the court last month that appeared to pick the case apart, point-by-point.

McCullough's long-held alibi was that he was in Rockford, attempting to enlist with the U.S. Air Force at a military recruiting station, on the night Maria disappeared.

Schmack said newly discovered phone records proved McCullough had, as he long-claimed, made a collect call to his parents at 6:57 p.m. from a phone booth in downtown Rockford - which is 40 miles northwest of where Maria was abducted between 6:45 p.m. and 6:55 p.m.

Schmack also reviewed police reports and hundreds of other documents, including from the Air Force recruitment office, which he said had been improperly barred at trial. In his review he said the documents contained "a wealth of information pointing to McCullough's innocence, and absolutely nothing showing guilt."

He also noted that Maria's friend had identified McCullough as the killer five decades later from an array of six photographs; McCullough's picture stood out, partially because everyone but him wore suitcoats and their photos were professional yearbook pictures.

Maria's murder haunted the Sycamore for decades, and McCullough's conviction four years ago seemed to bring some closure. Those wounds now threaten to reopen.

Her family remains convinced that McCullough is guilty and have sought the appointment of a special prosecutor in an attempt to keep him behind bars. Maria's brother, 70-year-old Charles Ridulph, still lives in Sycamore and has said in recent weeks that his family feels let down by the state prosecutor's office about-face.