The district attorney or the defendant may apply to the court for a material witness order when:
An indictment has been filed, and is pending, against the defendant in a circuit court;
A grand jury proceeding has been commenced against the defendant; or
A complainant’s information or a district attorney’s information alleging that the defendant has committed a felony has been filed, and is pending, in a court of competent jurisdiction.
The application must be in writing and sworn to by the applicant. The request must state facts establishing a reasonable belief that the person the applicant desires to call as a witness:
Possesses information material to the determination of the action against the defendant; and
Will not appear at the time when attendance of the witness is required.
The applicant shall file the application:
If an indictment has been filed, a grand jury proceeding has been commenced or the defendant has been held to answer by any court to await the action of a grand jury, in the circuit court in which the indictment is pending or by which the grand jury has been impaneled; or
If information alleging the commission of a felony is pending in a court authorized to hold a preliminary hearing, in that court or in the circuit court that would have jurisdiction of the case upon holding the defendant to answer to await the action of the grand jury.