For purposes of this section, "exonerated" means that:
(1) a court of this state:
(i) vacated or reversed a judgment of conviction on grounds consistent with innocence and the prosecutor dismissed the charges; or
(ii) ordered a new trial on grounds consistent with innocence and the prosecutor dismissed the charges or the petitioner was found not guilty at the new trial; and
(2) the time for appeal of the order resulting in exoneration has expired or the order has been affirmed and is final.
A petition for an order declaring eligibility for compensation based on exoneration under sections 611.362 to 611.368 must be brought before the district court where the original conviction was obtained. The state must be represented by the office of the prosecutor that obtained the conviction or the prosecutor's successor. Within 60 days after the filing of the petition, the prosecutor must respond to the petition. A petition must be brought within two years, but no less than 60 days after the petitioner is exonerated. Persons released from custody after being exonerated before July 1, 2014, must commence an action under this section within two years of July 1, 2014.
(a) An individual who is exonerated is eligible for compensation in the interests of justice, if the prosecutor, within 60 days of filing the petition, joins the petition and indicates that it is likely that the original complaint or indictment would not have been filed or sought or would have been dismissed with the knowledge of all of the circumstances. Joinder and agreement to compensation based on the interests of justice by the prosecutor shall conclusively establish eligibility for compensation precluding any further proceedings under paragraph (b). Upon receipt of prosecutor's joinder and agreement, the court shall issue an order as described in subdivision 7, granting petitioner's eligibility for compensation under this subdivision.
(b) If the prosecutor does not join and agree as provided under paragraph (a), the court shall determine if an individual who is exonerated is eligible for compensation based on the establishment of innocence if the petitioner establishes that a crime was not committed or that the crime was not committed by the petitioner. The petitioner's burden of proof and the procedures set forth in section 590.04, subdivision 3, apply to this proceeding.
Court records related to the conviction and the exoneration are admissible in a proceeding under this section. A written statement filed in court or oral statement on the record by the office of the prosecutor that obtained the conviction is admissible to support or refute the petition. The prosecutor may address the prosecutor's decision to dismiss the charges or other information that may not be fully reflected in the proceedings resulting in exoneration. Both the petitioner and the prosecutor have the right to present additional evidence. The court may consider acts by the petitioner that may have contributed to bringing about the conviction and any other offenses that may have been committed by the petitioner in the same behavioral incident, except for those acts contained in subdivision 5, paragraph (c). The victim of the offense has a right to submit an oral or written statement before the court issues its order. The statement may summarize the harm suffered by the victim as a result of the crime and give the victim's recommendation on whether the petition should be granted or denied.
(a) A claim for compensation arises if a person is eligible for compensation under subdivision 3 and:
(1) the person was convicted of a felony and served any part of the imposed sentence in prison;
(2) in cases where the person was convicted of multiple charges arising out of the same behavioral incident, the person was exonerated for all of those charges;
(3) the person did not commit or induce another person to commit perjury or fabricate evidence to cause or bring about the conviction; and
(4) the person was not serving a term of imprisonment for another crime at the same time, provided that if the person served additional time in prison due to the conviction that is the basis of the claim, the person may make a claim for that portion of time served in prison during which the person was serving no other sentence.
(b) A claimant may make a claim only for that portion of time served in prison during which the claimant was serving no other sentence.
(c) A confession or admission later found to be false or a guilty plea to a crime the claimant did not commit does not constitute bringing about the claimant's conviction for purposes of paragraph (a), clause (3).
Unless the petition and the files and records of the proceeding conclusively show that the petitioner is not eligible for compensation, the court shall set a hearing on the petition and response thereto.
If, after considering all the files and records admitted and any evidence admitted at a hearing held pursuant to subdivision 4, the court determines that the petitioner is eligible for compensation, the court shall issue an order containing its findings and, if applicable, indicate the portion of the term of imprisonment for which the petitioner is entitled to make a claim. The court shall notify the petitioner of the right to file a claim for compensation under sections 611.362 to 611.368 and provide the petitioner with a copy of those sections. The petitioner must acknowledge receipt of the notice and a copy of those sections in writing or on the record before the court.