Ariz. R. Crim. P. 17.6
Rule 17.6. Admitting a Prior Conviction
The court may accept the defendant's admission to an allegation of a prior conviction only under the procedures of this rule, unless the defendant admits the allegation while testifying in court.