Rule 11. Pleas.
(a) Upon arraignment, except for an infraction, a defendant shall be represented by counsel, unless the defendant waives counsel in open court. The defendant shall not be required to plead until the defendant has had a reasonable time to confer with counsel.
(b) A defendant may plead not guilty, guilty, no contest, not guilty by reason of insanity, or guilty and mentally ill. A defendant may plead in the alternative not guilty or not guilty by reason of insanity. If a defendant refuses to plead or if a defendant corporation fails to appear, the court shall enter a plea of not guilty.
(c) A defendant may plead no contest only with the consent of the court.
(d) When a defendant enters a plea of not guilty, the case shall forthwith be set for trial. A defendant unable to make bail shall be given a preference for an early trial. In cases other than felonies the court shall advise the defendant, or counsel, of the requirements for making a written demand for a jury trial.
(e) The court may refuse to accept a plea of guilty, no contest or guilty and mentally ill, and may not accept the plea until the court has found:
(e)(1) if the defendant is not represented by counsel, he or she has knowingly waived the right to counsel and does not desire counsel;
(e)(2) the plea is voluntarily made;
(e)(3) the defendant knows of the right to the presumption of innocence, the right against compulsory self-incrimination, the right to a speedy public trial before an impartial jury, the right to confront and cross-examine in open court the prosecution witnesses, the right to compel the attendance of defense witnesses, and that by entering the plea, these rights are waived;
(e)(4)(A) the defendant understands the nature and elements of the offense to which the plea is entered, that upon trial the prosecution would have the burden of proving each of those elements beyond a reasonable doubt, and that the plea is an admission of all those elements;
(e)(4)(B) there is a factual basis for the plea. A factual basis is sufficient if it establishes that the charged crime was actually committed by the defendant or, if the defendant refuses or is otherwise unable to admit culpability, that the prosecution has sufficient evidence to establish a substantial risk of conviction;
(e)(5) the defendant knows the minimum and maximum sentence, and if applicable, the minimum mandatory nature of the minimum sentence, that may be imposed for each offense to which a plea is entered, including the possibility of the imposition of consecutive sentences;
(e)(6) if the tendered plea is a result of a prior plea discussion and plea agreement, and if so, what agreement has been reached;
(e)(7) the defendant has been advised of the time limits for filing any motion to withdraw the plea; and
(e)(8) the defendant has been advised that the right of appeal is limited.
These findings may be based on questioning of the defendant on the record or, if used, a written statement reciting these factors after the court has established that the defendant has read, understood, and acknowledged the contents of the statement. If the defendant cannot understand the English language, it will be sufficient that the statement has been read or translated to the defendant.
Unless specifically required by statute or rule, a court is not required to inquire into or advise concerning any collateral consequences of a plea.
(f) Failure to advise the defendant of the time limits for filing any motion to withdraw a plea of guilty, no contest or guilty and mentally ill is not a ground for setting the plea aside, but may be the ground for extending the time to make a motion under Section 77-13-6.
(g) If the defendant pleads guilty, no contest, or guilty and mentally ill to a misdemeanor crime of domestic violence, as defined in Utah Code Section 77-36-1, the court shall advise the defendant orally or in writing that, as a result of the plea, it is unlawful for the defendant to possess, receive or transport any firearm or ammunition. The failure to advise does not render the plea invalid or form the basis for withdrawal of the plea.
(h)(1) If it appears that the prosecuting attorney or any other party has agreed to request or recommend the acceptance of a plea to a lesser included offense, or the dismissal of other charges, the agreement shall be approved or rejected by the court.
(h)(2) If sentencing recommendations are allowed by the court, the court shall advise the defendant personally that any recommendation as to sentence is not binding on the court.
(i)(1)The judge shall not participate in plea discussions prior to any plea agreement being made by the prosecuting attorney.
(i)(2) When a tentative plea agreement has been reached, the judge, upon request of the parties, may permit the disclosure of the tentative agreement and the reasons for it, in advance of the time for tender of the plea. The judge may then indicate to the prosecuting attorney and defense counsel whether the proposed disposition will be approved.
(i)(3) If the judge then decides that final disposition should not be in conformity with the plea agreement, the judge shall advise the defendant and then call upon the defendant to either affirm or withdraw the plea.
(j) With approval of the court and the consent of the prosecution, a defendant may enter a conditional plea of guilty, guilty and mentally ill, or no contest, reserving in the record the right, on appeal from the judgment, to a review of the adverse determination of any specified pre-trial motion. A defendant who prevails on appeal shall be allowed to withdraw the plea.
(k) When a defendant tenders a plea of guilty and mentally ill, in addition to the other requirements of this rule, the court shall hold a hearing within a reasonable time to determine if the defendant is mentally ill in accordance with Utah Code Ann. § 77-16a-103.
(l) Compliance with this rule shall be determined by examining the record as a whole. Any variance from the procedures required by this rule which does not affect substantial rights shall be disregarded. Failure to comply with this rule is not, by itself, sufficient grounds for a collateral attack on a guilty plea.