After he signed a statement written in longhand by investigators, he asked, “Can I go home now?” according to an account by his defense lawyers.

Before the night was done, Mr. Brown, after being told that his half brother had confessed and facing similar threats that he could be executed if he did not cooperate, also signed a confession. Both men subsequently recanted at trial, saying their confessions had been coerced. The other two men mentioned in Mr. McCollum’s confession were never prosecuted.

Both defendants initially received death sentences for murder. After new trials were ordered by the State Supreme Court, Mr. McCollum was again sentenced to death, while Mr. Brown was convicted only of rape, and his sentence was reduced to life. (In later years, the Supreme Court barred the death penalty for minors and the execution of the mentally disabled.)

Lawyers from the Center for Death Penalty Litigation, working with private law firms, began pressing for DNA testing of the physical evidence in the case, which included a cigarette butt found near sticks used in the murder.

Recent DNA testing by an independent state agency, the North Carolina Innocence Inquiry Commission, of evidence gathered in the initial investigation found a match for the DNA on the cigarette butt — not to either of the imprisoned men, but to Roscoe Artis, who lived only a block from where the victim’s body was found and who had a history of convictions for sexual assault.

Only weeks after the murder, in fact, Mr. Artis confessed to the rape and murder of an 18-year-old girl in Red Springs. Mr. Artis received a death sentence, later reduced to life, for that crime and remains in prison. Officials never explained why, despite the remarkable similarities in the crimes, they kept their focus on Mr. McCollum and Mr. Brown even as the men proclaimed their innocence.

The only witness at the hearing Tuesday was Sharon Stellato of the innocence inquiry commission, who under questioning from defense lawyers described the lack of evidence tying the two men to the crime as well as the DNA findings implicating Mr. Artis. The district attorney said he had no evidence to the contrary.