Updated

The confession of a Wisconsin inmate featured in the Netflix series "Making a Murderer" was improperly obtained and he should be re-tried or released from prison, a three-judge federal appeals panel ruled Thursday.

Brendan Dassey was sentenced to life in prison in 2007 in photographer Teresa Halbach's death on Halloween two years earlier. Dassey told detectives he helped his uncle, Steven Avery, rape and kill Halbach in the Avery family's Manitowoc County salvage yard. Avery was sentenced to life in a separate trial.

A federal magistrate judge ruled in August that investigators coerced Dassey, who was 16 years old at the time and suffered from cognitive problems, into confessing and overturned his conviction. The state Justice Department appealed the ruling to the 7th U.S. Circuit Court of Appeals, a move that kept Dassey, now 27, behind bars pending the outcome.

A three-judge panel from the Chicago-based 7th Circuit upheld the magistrate's decision to overturn his conviction. Wisconsin can appeal to the U.S. Supreme Court, ask for a review by the full 7th Circuit or re-try Dassey within 90 days.

Johnny Koremenos, a spokesman for Wisconsin Attorney General Brad Schimel, said the office expects to seek review by the full 7th Circuit or the U.S. Supreme Court, and hopes "that today's erroneous decision will be reversed."

"We continue to send our condolences to the Halbach family as they have to suffer through another attempt by Mr. Dassey to re-litigate his guilty verdict and sentence," Koremenos said.

Laura H. Nirider, an attorney who aided Dassey's defense, called it "a victory for Brendan."

The appellate panel split, with Judges Ilana Rovner and Ann Williams affirming and David Hamilton in dissent. The majority opinion by Rovner said "no reasonable court" could have any confidence that Dassey's confession was voluntary. It cited "the leading, the fact-feeding, the false promises, the manipulation of Dassey's desire to please" as among many factors that cast it in doubt.

Hamilton, in dissent, wrote: "The majority's decision breaks new ground and poses troubling questions for police and prosecutors. It calls into question standard interrogation techniques that courts have routinely found permissible, even in cases involving juveniles."

Avery and Dassey contend they were framed by police angry with Avery for suing Manitowoc County over his wrongful conviction for sexual assault. Avery spent 18 years in prison in that case before DNA tests showed he didn't commit the crime. He's pursuing his own appeal in state court.

Their cases gained national attention in 2015 after Netflix aired "Making a Murderer," a multi-part documentary looking at Halbach's death, the ensuing investigation and trials. The series sparked widespread conjecture about the pair's innocence and has garnered them a massive following on social media pushing for their release.

Authorities who worked on the cases insisted the documentary is biased. Ken Kratz, the prosecutor, wrote in his book "Avery" that Dassey was "a shuffling, mumbling young man with bad skin and broken-bowl haircut" who could have saved Halbach's life but instead involved himself in her rape and murder and Avery is "by any measure of the evidence, stone guilty."