¶ 1 In January 2007, Steven Szpyrka was charged with eight counts of third-degree burglary, two counts of theft by control, and one count each of conspiracy to commit burglary, possession of a dangerous drug, and possession of drug paraphernalia. The state alleged Szpyrka had one histоrical prior felony conviction for theft by control in cause number CR-20063298. In November, Szpyrka entered into a plea agreement, pursuant to which he agreed to plead guilty to the conspiracy charge, admit the prior felony conviction, and be sentenced acсording to the enhanced range appropriate for a class three felony with one historical prior felony conviction. See A.R.S. § 13-703(B), (I). 1 The state agreed to dismiss all other charges. The trial court sentenced Szpyrka to an enhanced, presumptive prison term of 6.5 years. See id.
¶2 Szpyrka subsequently appealed his conviction in CR-20063298. In December 2008, this court vacated the conviction, finding Szpyrka’s constitutional rights pursuant to
Miranda v. Arizona,
¶ 3 On review, the state argues the trial court erred in granting Szpyrka’s petition for post-conviction relief and ordering a new sentencing hearing. We review a trial court’s ruling on a petition for post-conviction relief for abuse of discretion.
State v. Swoopes,
¶ 4 Here, as noted above, Szpyrka entered into a plea agreement that provided his sentence would be enhanced with his conviction in CR-20063298. There was clearly no factual basis for that conviction once it was vacated by this court. Thе state nevertheless argues “the prior conviction now exists again” because Szpyrka subsequently pled guilty to the charge in CR-20063298. We disagree. To constitute a prior conviction for sentence enhancement purposes, “the conviction on the prior offense must prеcede the conviction on the present offense.”
State v. Thompson,
¶ 5 The state alternatively argues the trial court should have remedied the lack of a factual basis for the prior conviction by vacating the plea agreement. And it contends the court erred in finding Szpyrka was entitled to be resentenced on the рresent conviction as a nonrepetitive offender. “Plea agreements are contractual in nature and subject to contract interpretation.”
Coy v. Fields,
¶ 6 In granting Szpyrka’s petition for post-conviction relief, the trial court relied primarily on this court’s opinion in
Coy.
There, in accordance with the terms of a plea agreement, the trial court imposed a probationary term far in excess of the term statutorily authorized for the offenses to which the defendant had pled.
Coy,
¶ 7 By contrast, in
Draper,
the defendant “agreed to plead guilty to shoplifting with an unspecified prior conviction.”
¶ 8 The present ease is closer to
Draper
and
Quick
than to
Coy.
Here, there was no “mistake as to the law in effect at the time the parties entered into the plea agreement.”
See Coy,
¶ 9 As the state contends, “the entire agreement was structured around the existence of the prior conviction.” The state agreed to dismiss all but one of the thirteen counts filed against Szpyrka “[b]ecause [he] was willing to admit the prior conviction and be subject to the negotiated sеntencing range.”
See Draper,
¶ 10 Szpyrka contended in his petition for post^eonviction relief, and argues again in his response to the state’s petition for review, that “double jeopardy considerations” preclude vacating the plea agreement, notwithstanding any contractual analysis.
5
See Coy,
¶ 11 The Double Jeopardy Clause “‘protects against a second prosecution for
¶ 12 Here, however, we find no affirmative government action, much less “gоvernment oppression.” On the contrary, it is Szpyrka who, although not expressly seeking to withdraw from the plea agreement, has caused its validity to be compromised through his appeal of the prior conviction and his petition for post-conviction relief. Unlike cases cited by Szpyrka,
see, e.g., Aragon v. Wilkinson,
¶ 13 For the reasons stated above, we vacate the trial court’s order that Szpyrka be resentenced and remand for proceedings consistent with this opinion. 8
Notes
. Significant portions of the Arizona criminal sentencing code have been renumbered, effective December 31, 2008. See 2008 Ariz. Sess. Laws, ch. 301, §§ 1-120. For ease of reference and because the renumbering included no substantive changes, see id. § 119, we refer in this decision to the current section numbers rather than those in effect when the offenses were committed in this case.
. Although Szpyrka had filed an earlier petition for post-conviction relief, his claim here was not precluded because it was not available until after this court had vacated his prior conviction. See Ariz. R.Crim. P. 32.1(c), 32.2(a).
. The same day, Szpyrka entered a guilty plea to the charge in CR-20063298, which the state hаd apparently refiled.
. We are not persuaded by Szpyrka’s contention that, because the range for a nonrepetitive offense overlaps in part with the range contemplated by the agreement, “the reversal of the prior conviction did not make the negоtiated sentence impossible to impose.” The trial court imposed the presumptive sentence of 6.5 years for a class three felony with one prior conviction. See A.R.S. § 13-703(B), (I). Although the agreement contemplated, as a minimum, a mitigated sentence of 4.5 years, the presumptivе sentence for a nonrepetitive offense would be 3.5 years. See A.R.S. § 13-702(D). And Szpyrka does not argue there is any basis for the trial court to increase his sentence above this presumptive level should we affirm its order granting a new sentencing.
. Szpyrka suggests the state has conceded error on this issue by not addressing it in its petition for review. However, the issue was raised by Szpyrka more in the nature of a specific defense to the state’s contract-based argument, and we consider it as part of our review of the trial court’s decision. Even assuming the state’s failure to addrеss this issue could be construed as such, "we are not bound by the state’s confession of error, particularly when applicable legal principles do not support it.”
Lopez v. Kearney,
. We resolved
Coy
using contract principles and expressly declined to reach the defendant’s double jeopardy claim.
. For this reason, we are not persuaded by Szpyrka's characterization of the state’s petition for review as a cross-appeal requesting the plea be vacated. Rather, we view it as a response to the trial court's ruling granting a new sentencing on modified terms to which the parties never agreed. He cites no authority in support of his claim that we lack jurisdiction to vacate the trial court’s ruling and set forth the principles it should follow on remand.
See Draper,
. On remand, any subsequent conviction and re-sentencing must conform with the requirements of
North Carolina v. Pearce,
