MADISON, Wis. (AP) -

State attorneys want a federal judge to keep a man convicted in a case profiled in the popular "Making a Murderer" Netflix series behind bars while they appeal his release.

A federal magistrate judge ruled in August that investigators tricked Brendan Dassey into confessing that he helped his uncle, Steven Avery, kill photographer Teresa Halbach in 2005. The judge ordered Dassey freed from prison unless prosecutors appealed.

The state Justice Department filed an appeal last month.

Dassey's attorneys have asked the magistrate to release him while the appeal is pending. DOJ attorneys filed a brief Tuesday arguing Dassey should stay in prison because he's a serious threat to public safety. The brief also notes the magistrate clearly said his ruling would be stayed if it was appealed.