Brendan Dassey in 2011 when he was 22

A man whose homicide conviction was overturned in a case profiled in the Netflix series “Making a Murderer” has been ordered released from prison while prosecutors appeal.

The Wisconsin Department of Justice issued a statement Monday saying they will be filing an emergency motion to prevent Dassey from being released.

“Today, U.S. Magistrate Judge William Duffin granted a motion for release in the Brendan Dassey case. Attorney General Brad Schimel intends to file an emergency motion in the Seventh Circuit seeking a stay of this release order,” the statement said.

Duffin ruled in August that investigators tricked Dassey into confessing he helped his uncle, Steven Avery, rape, kill and mutilate photographer Teresa Halbach in 2005. The state has appealed that ruling.

Dassey’s supervised release was not immediate and is contingent upon him meeting multiple conditions. He has until noon Tuesday to provide the federal probation and parole office with the address of where he planned to live.

The judge outlined several conditions for Dassey’s release, including that he can only travel in the court’s eastern district of Wisconsin, not obtain a passport, not possess a gun, any other weapons or any controlled substances, WTMJ in Milwaukee reported.

Dassey has also been ordered not to have any contact with Steven Avery or the family of Teresa Halback.

Dassey was 16 when Halbach died. He’s now 27.

Brad Dassey, Brendan Dassey’s brother, issued a statement Monday.

“My brother is one step closer to the freedom he DESREVES! My heart is pumping beyond belief and I’m extremely ecstatic to hear he’ll finally get a taste of freedom until things are completely resolved. Despite what people say, I love and care about my brother, Brendan. I always have and always will.”

State Department of Corrections officials said they are currently reviewing the judge’s order.