(A) Right to Speedy Trial. The defendant and the people are entitled to a speedy trial and to a speedy resolution of all matters before the court. Whenever the defendant's constitutional right to a speedy trial is violated, the defendant is entitled to dismissal of the charge with prejudice.
(B) Priorities in Scheduling Criminal Cases. The trial court has the responsibility to establish and control a trial calendar. In assigning cases to the calendar, and insofar as it is practicable,
(1) the trial of criminal cases must be given preference over the trial of civil cases, and
(2) the trial of defendants in custody and of defendants whose pretrial liberty presents unusual risks must be given preference over other criminal cases.
(C) Delay in Felony and Misdemeanor Cases; Recognizance Release. In a felony case in which the defendant has been incarcerated for a period of 180 days or more to answer for the same crime or a crime based on the same conduct or arising from the same criminal episode, or in a misdemeanor case in which the defendant has been incarcerated for a period of 28 days or more to answer for the same crime or a crime based on the same conduct or arising from the same criminal episode, the defendant must be released on personal recognizance, unless the court finds by clear and convincing evidence that the defendant is likely either to fail to appear for future proceedings or to present a danger to any other person or the community. In computing the 28-day and 180-day periods, the court is to exclude
(1) periods of delay resulting from other proceedings concerning the defendant, including but not limited to competency and criminal responsibility proceedings, pretrial motions, interlocutory appeals, and the trial of other charges,
(2) the period of delay during which the defendant is not competent to stand trial,
(3) the period of delay resulting from an adjournment requested or consented to by the defendant’s lawyer,
(4) the period of delay resulting from an adjournment requested by the prosecutor, but only if the prosecutor demonstrates on the record either
(a) the unavailability, despite the exercise of due diligence, of material evidence that the prosecutor has reasonable cause to believe will be available at a later date; or
(b) exceptional circumstances justifying the need for more time to prepare the state’s case,
(5) a reasonable period of delay when the defendant is joined for trial with a codefendant as to whom the time for trial has not run, but only if good cause exists for not granting the defendant a severance so as to enable trial within the time limits applicable, and
(6) any other periods of delay that in the court’s judgment are justified by good cause, but not including delay caused by docket congestion.
(D) Untried Charges Against State Prisoner.
(1) The 180-Day Rule. Except for crimes exempted by MCL 780.131(2), the inmate shall be brought to trial within 180 days after the department of corrections causes to be delivered to the prosecuting attorney of the county in which the warrant, indictment, information, or complaint is pending written notice of the place of imprisonment of the inmate and a request for final disposition of the warrant, indictment, information, or complaint. The request shall be accompanied by a statement setting forth the term of commitment under which the prisoner is being held, the time already served, the time remaining to be served on the sentence, the amount of good time or disciplinary credits earned, the time of parole eligibility of the prisoner, and any decisions of the parole board relating to the prisoner. The written notice and statement shall be delivered by certified mail.
(2) Remedy. In the event that action is not commenced on the matter for which request for disposition was made as required in subsection (1), no court of this state shall any longer have jurisdiction thereof, nor shall the untried warrant, indictment, information, or complaint be of any further force or effect, and the court shall enter an order dismissing the same with prejudice.