If the court determines that relief should be granted, it shall order appropriate relief, including: Release from incarceration or other restraint; reversal of the criminal judgment, including one entered upon a plea of guilty or nolo contendere; entry of judgment for a lesser included offense; reversal of another order or decision, with or without affording the State or other party a new hearing; granting the right to take an appeal from the criminal judgment; correction of errors appearing as a matter of record; resentencing or a new sentence; and entry of an order altering the amount of time that a person incarcerated under a sentence has served or must serve. The judgment making final disposition is a final judgment for purposes of review by the Law Court. When relief is granted to the petitioner and release is appropriate, the justice may release a petitioner on bail pending appeal. [RR 2009, c. 2, §32(COR).]
15 M.R.S. § 2130