Minn. Stat. § 589.13 : —EXTRAORDINARY WRITS; CONTEMPT; POSTCONVICTION RELIEFHABEAS CORPUS — DISCHARGING PETITIONER TEXT PDF If the judge, under section 589.12, finds no legal cause to support imprisonment or restraint of the petitioner, the judge shall discharge the petitioner. Minn. Stat. § 589.13 (9751) RL s 4585; 1985 c 265 art 9 s 1