Ind. Code § 35-35-3-3
(a) No plea agreement may be made by the prosecuting attorney to a court on a felony charge except:
(2) before the defendant enters a plea of guilty.
The plea agreement shall be shown as filed, and if its contents indicate that the prosecuting attorney anticipates that the defendant intends to enter a plea of guilty to a felony charge, the court shall order the presentence report required by IC 35-38-1-8 and may hear evidence on the plea agreement.
(d) In a misdemeanor case, if:
(2) the prosecuting attorney or the defendant files a written motion for change of judge within ten (10) days after the plea agreement is rejected;
the court shall grant the motion for change of judge and transfer the proceeding to a special judge under the Indiana Rules of Criminal Procedure. However, there may not be more than one (1) transfer of the proceeding to a special judge under this subsection.
(e) If the court accepts a plea agreement, it shall be bound by its terms.
As added by Acts 1981, P.L.298, SEC.4. Amended by P.L.320-1983, SEC.19; P.L.136-1987, SEC.4; P.L.50-2017, SEC.1.