Petitioner appeals from an order of the United States District Court for the Southern District of New York (Marrero, J.), entered August 3, 2000, denying his petition for a writ of habeas corpus. This appeal requires us to decide the following questions: (1) whether the Supreme Court has “clearly established” that jeopardy attaches upon a trial court’s unconditional acceptance of a guilty plea to the lesser included offense in a two-count indictment, and therefore that the Double Jeopardy *41 Clause bars subsequent prosecution (or reinstatement of the indictment) on a greater felony offense; (2) whether the New York Court of Appeals applied a rule that is “contrary to” this clearly establishеd federal law in denying petitioner’s Article 78 petition; and (3) the subsidiary factual question of whether the greater offense— felony possession of a weapon — was in fact “pending” when the defendant pled guilty to the lesser included misdemeanor offense of criminal possession of a weapon in the fourth degree.
Petitioner is currently serving an indeterminate term of imprisonment of from two and one-half to five years for Criminal Possession of a Weapon in the Third Degree pursuant to New York Penal Law (“NYPL”) § 265.02, a class “D” felony. See NYPL § 70.02(e). Petitioner was charged in New York State court in a two-count indictment with third degree felony possession of a weapon (not in a person’s home or place of business) аnd a lesser included count of fourth degree misdemeanor weapon possession, pursuant to New York Penal Law §§ 265.02 and 265.01, respectively. On June 4, 1997, Morris pleaded guilty to the felony charge. The trial court had initially accepted, with no objection from the prosecution, petitioner’s guilty plea to the misdemeanor offense. However, under somewhat complicated factual circumstances detailed more fully below, the trial court, over defense objection, reinstated the felony count and declined to impose the bargained for sentence on the misdemeanor. Petitioner now contends that the New York trial court violated his rights under the Double Jeopardy Clause when it improperly reinstated the felony weapon possession count after accepting his guilty plea to the lesser included offense of misdemeanor weapon possession, when the misdemeanor was the only charge then pending against him. See U.S. Const, amend V, cl. 2 (“the Double Jeopardy Clause”).
Respondent-appellee, Edward Reynolds, Superintendent of the Mohawk Correctional Facility (“respondent”), counters that the United States Supreme Court has yet to decide whether the Double Jeopardy Clause is violated when a court, sua sponte, vacates a guilty plea to a lesser charge to correct its own error prior to sentencing. 1 Respondent also contends the Court has not decided when jeopardy attaches to a guilty plea. Therefore, according to respondent, petitioner fails to establish that the New York Court of Appeals’s decision is contrary to or involves an unreasonable application of clearly established Supreme Court precedent as required for habeas relief under the Anti-Terrorism and Effective Death Penalty Act of 1996 (“AEDPA”), 28 U.S.C. § 2254(d) (1996).
The New York Court of Appeals denied petitioner’s double jeopardy claim, though it did not discuss the claim or cite appropriate federal law. The Court of Appeals grounded its decision on its own prior precedent which holds that a trial court has the inherent power to vacate a plea, to correct its оwn errors, and conduct a subsequent prosecution on the original charges, and that as long as sentence has not been imposed and judgment entered, defendant’s constitutional right not to be *42 twice put in jeopardy does not bar the second prosecution.
We disagree with respondent for the reasons set forth below and therefore reverse the judgment of the district court, and grant the petition. Since the time petitioner has spent incarcerated already has exceeded the maximum penalty for the misdemeanor fourth degree weapons charge, see NYPL § 70.15(1), we order the petitioner immediately released from state confinement.
I. BACKGROUND
A. Facts and State Court Proceedings
Petitioner was indicted in December 1993 on a class D felony count of Criminal Possession of a Weapon in the Third Degree and a class A misdemeanor count of Criminal Possession of a Weapon in the Fourth Degree.
See Mortis v. Reynolds,
Morris contends that we should grant habeas relief because the Supreme Court has “clearly established” that when a defendant pleads guilty to a lesser included offense, and no other charge remains “pending” against him, once the court accepts his guilty plea and the prosecution does not object, to reinstate the greater count violates the Double Jeopardy Clause. The crucial factual issue on this theory therefore is whether the felony count remained “pending” when the court accepted Morris’s plea to the misdemeanor. If it was “pending” at that time, then Morris only resolved a portion of the charges against him, and the court was within its power to reinstate the felony without violating the Double Jeopardy Clause under
Ohio v. Johnson,
On June 7, 1994, the trial court, reading from an index card, said that the people had not established sufficiently the home and business exception, and that the felony count was therefore dismissed. 2 The government made no objection. Additionally, the government informed the court that it was ready to proceed on the basis of the misdemeanor count and would need approximately three days to get its witnesses in. The case was continued tо August 1, 1994.
On August 1, 1994, the court reiterated that the only count pending was criminal possession of a weapon in the fourth degree. The court indicated its willingness, “based on the paucity” of petitioner’s record, to accept a plea to that charge and give petitioner a misdemeanor probationary sentence. The government did not object.
*43 The court asked the petitioner if “[he] wish[ed] to change [his] plea from not guilty of the remaining count, criminal possession of a weapon in the fourth degree, to guilty of that crime?” App. at 16 (emphasis added). Petitioner responded yes. Defense counsel stated that petitioner was pleading guilty to the misdemeanor, in full satisfaction of the indictment. The government did not object.
The court carefully alloeuted the petitioner. The government articulated the facts that it would have proven had the case gone to trial. The prosecution acknowledged that it understood that petitioner was to receive a probationary sentence of three years, and reserved its right to make a sentencing recommendation. The court accepted petitioner’s plea and the prosecutor made no objection.
There is some dispute over the timing— namely, whether the trial justice reinstated the felony count before the defendant pled guilty to the misdemeanor. According to the district court, immediately after the August 1, 1994 рlea allocution the prosecutor asked the trial justice’s law secretary for a copy of the trial justice’s decision regarding the felony count and was informed “that it was ‘not yet completed’ but that it would find the grand jury proceedings sufficient to
reinstate
the felony indictment.”
Morris,
Several months after the court accepted Morris’s plea, on October 21, 1994 when preparing to sentence him, the trial justice stated that “after review, Criminal Possession of a Weapon in the Third Degree is
reinstated.”
App. at 29 (emphasis added). The trial court offered petitioner the opportunity to withdraw the misdemeanor plea, which offer was declined. Petitioner brought an Article 78 proceeding seeking to prohibit the trial judge from setting aside the misdemeanor plea and seeking to require the court to impose the promised probationary sentence and to set aside the reinstatement of thе felony. The Appellate Division granted his petition with two judges dissenting.
See Van Leer-Green-berg ex rel Morris v. Massaro,
B. Federal Court Proceedings 4
Petitioner filed an amended habeas petition, dated May 21, 1999, claiming that the trial court lacked the authority to set aside *44 sua sponte the guilty plea and reinstate the felony count without petitioner’s consent, and that this vacatur offended the Double Jeopardy Clause of the United States Constitution.
In a Report and Recommendation dated December 16, 1999, United States Magistrate Judge Peck recommended that the petition be granted.
Morris v. Reynolds,
No. 98 Civ. 5439 NRB AJP,
After concluding that the Supreme Court had never directly addressed the issue of whether jeopardy attaches upon a court’s unconditional acceptance of a guilty . plea, the Magistrate Judge determined that in
Ohio v. Johnson,
In an order dated August 3, 2000, United States District Judge Victor Marrero declined to adopt the Magistrate Judge’s report and denied the petition.
See Morris,
With respect to the facts, the district court disagreed with the magistrate judge’s conclusion that the trial justice had produced a ‘back-dated written order, which despite its date clearly was not prepared until after the guilty plea was accepted.’
Id.
at 435 (quoting
The district court found that the inference drawn by the magistrate judge “was not based on a factual basis sufficient to support a convincing conclusion.” Id. at 435. Therefore, the district court held, it was “constrained not to disturb the state court’s factual findings” because petitiоner “failed to show by clear and convincing evidence that those findings were erroneous.” Id.
Regarding the law, the district court agreed with the magistrate judge’s conclusion that the Supreme Court has not specifically addressed the issue related to double jeopardy in this case — whether jeopardy attaches at the time of the acceptance of a guilty plea. Id. The district court did, however, note that the decision of the Court of Appeals implicitly rested on the premise, discussed in the Appellate Division dissent, that no double jeopardy issue arose when the felony count was reinstated because the proceeding did not terminate in a judgment, i.e. conviction and sentence, but rather, merely a conviction pursuant to a guilty plea. See id. at 484-35 (citations omitted). The district court concluded that though there was no explicit mention of the federal double jeopardy claim, the New York Court of Appeals was following Johnson. See id. at 435.
Finally, the district court found that even under de novo review, using the rule that the magistrate judge derived from Johnson, i.e. whether the state had the opportunity to marshal its evidence and resources and chose not to exercise it, the writ should not issue. See id. at 436-38. The district court found that the magistrate judge’s findings that the state never objected to the dismissal of the felony charges or Morris’s guilty plea were not sufficiently supported by the record. See id. at 438. The district court issued a certificate of appealability on August 3, 2000. See id. at 439.
II. DISCUSSION
A. Standard of Review
This Court reviews de novo the district court’s decision to grant or deny a petition for writ of habeas corpus.
See Clark v. Stinson,
Additionally, as acknowledged earlier a writ of habeas corpus may not issue “with respect to any claim that was adjudicated on the merits in State court proceeding unless the adjudication ... resulted in a decision that was contrary to, оr involved an unreasonable application of, clearly established Federal law as determined by the Supreme Court of the United States.” 28 U.S.C. § 2254(d)(1).
Notwithstanding the absence of discussion of Morris’s federal double jeopardy
*46
claim, the Court of Appeals’s decision constituted an “adjudication] on the merits” to which we owe AEDPA deference.
See
28 U.S.C. § 2254(d);
Sellan v. Kuhlman,
whether a state court’s disposition of a petitioner’s claim is on the merits by considering: (1) what the state courts have done in similar cases; (2) whether the history of the case suggests that the state court was aware of any ground for not adjudicating the case on the merits; and (3) whether the state courts’ opinions suggest reliance upon procedural grounds rather than a determination on the merits.
Sellan,
Pursuant to that test the New York Court of Appeals adjudicated
Morris
on the merits. First, New York courts have held in other cases that in similar circumstances, the Double Jeopardy Clause is not offended by a proceeding that does not terminate in judgment.
See Van Leer-Greenberg,
Therefore, this Court is constrained to apply “clearly established Federal law,” as determined by the holdings, not dicta, of the United States Supreme Court.
Williams v. Taylor,
The question for this Court then is whether under the circumstances of this case, the state court’s decision to permit prosecution of petitioner on the reinstated felony charge was “contrary to, or involved an unreasonable application of, clearly established Federal law, as determined by the Supreme Court of the United States.” 28 U.S.C. § 2254(d)(1).
*47 If we determine that petitioner is relying upon double jeopardy law which was clearly established federal law at the time of his prosecution, within the meaning of 2254(d), this Court must examine the state court decision and, guided by Williams, determine -whether it is contrary to or an unreasonable application of that law.
B. The Facts on Revieio
As noted earlier, in a habeas proceeding, “a determination of a factual issue made by a state court shall be presumed to be correct.” 28 U.S.C. § 2254(e)(1). “[PJeti-tioner, however, may rebut the presumption by clear and convincing evidence.”
Morris,
The record in this case establishes that: (1) although the trial court’s order reinstating the felony was dated July 29, 1994, the felony charge was not pending at the time petitioner’s plea was accepted on August 1, 1994; and (2) the government did not object to entry or acceptance of the misdemeanor plea in this case. To the extent the district court concluded otherwise, its findings were clearly erroneous. Additionally, we think that the district court’s observation that on the day petitioner’s plea was accepted the trial court “contemplated a reversal of its earlier oral ruling,” id. at 435, is of no import. Rather, the relevant inquiry is whether the felony count was pending at the time the court accepted the petitioner’s plea.
The state conducted no formal fact-finding hearing. However, the trial court said, on October 21, 1994, that “[o]n July 29, 1994, [itj issued its written decision.” App. at 34. The record belies this finding. Clear and convincing evidence rebuts the trial court’s statement. First, it is very clear that no one in court, including the justice, had any idea that the court did not dismiss the felony count and that the felony charge was pending at the time of the plea. Twice previously, the court had said it was dismissing the felony. On May 10, 1994, the trial justice ruled from the bench that he was dismissing the felony count of the indictment.
See
App. at 8. On June 7, 1994, he reiterated that ruling,
see
App. at 10, and on at least one of those dates he stated that the indictment was being dismissed because the “people failed to establish sufficiently the home and business exception.” App. at 30. Directly before accepting petitioner’s plea, the trial justice said, “The only count here is criminal possession of a weapon in the fourth degree.” App. at 15. Defense counsel stated that her client wished to plead guilty to the misdemean- or, “in full satisfaction of [the] indictment.” App. at 16. The trial justice then asked petitioner if he wished to plead guilty to the
“remaining
count, criminal possession of a weapon in the fourth degree,”
id.
(emphasis added), to which petitioner responded “yes.”
Id.
In addition, on August 1, 1994, the trial justice asked the prosecutor whether it was the People’s understanding that the court intended to do away with the felony charge.
See
App. at 25. She responded “yes” and reserved only a “right to make a sentencing recommendation for the date of sentence.”
Id.
Further, immediately following the plea, when the prosecutor asked the trial justice’s law secretary for a copy of the decision it was not available because it was incomplete.
Morris,
Because it was not material to the Court of Appeals’ analysis, that court left ambiguous whether the felony count remained pending at the time of the plea, and whether it believed the written decision dated July 29, was back-dated. To the extent that the Court of Appeals left its findings on this fact, which we find determinative, ambiguous, our review of the record demonstrates by clear and convincing evidence that the felony count had been dismissed, and was therefore not pending, when the trial court accepted Morris’s plea.
Further, the transcript is quite clear: at no time during the plea allocution did the prosecutor object to the plea. See App. at 13-27. The prosecutor claims to have protested the fact that no written decision (presumably of the felony dismissal) was available — “off the record.” App. at 98. We have no way of assessing the claim. Nothing in the record suggests any disagreement with entry of the plea. See App. at 13-27. The record reflects only what we set forth earlier, viz. the prosecutor understood that the court intended to do away with the felony count and reserved her right to make a sentencing recommendation. See App. at 25. Thus, the record supports a finding that the trial justice accepted Morris’s guilty plea to the misdemeanor with the prosecutor’s approval or at least without objection by the prosecution. 8
C. The Law
The Supreme Court has clearly established, for the purpose of 28 U.S.C. § 2254(d), that when no greater offense remains “pending” at the time a court accepts a defendant’s guilty plea to a lesser included offense, and the prosecution has not objected to the defendant’s plea, the Double Jeopardy Clause bars reinstatement of the greater offense..
The Double Jeopardy Clause provides that no person shall “be subject for the same offence to be twice put in jeopardy of life or limb.” U.S. Const, amend. V, cl. 2. “It protects against a second prosecution for the same offense after acquittal.
It protects against a second prosecution for the same offense after conviction.
And it protects against multiple punishments for the same offense.”
Ohio v. Johnson,
The Supreme Court has long held that a guilty plea cоnstitutes a conviction.
See Kercheval v. United States,
It has also long been clearly established by the Supreme Court that it is a violation of double jeopardy to prosecute a defendant for a greater offense after convicting and punishing the defendant for a lesser included offense.
See Brown,
In contrast, the Double Jeopardy Clause is not offended when the greater offenses charged in the indictment remain “pending” at the time of a guilty plea, and when the prosecution objects to the plea to a lesser included offense.
Johnson,
Accordingly, a rule that the state may not prosecute a defendant for a greater offense after his conviction pursuant to a guilty plea of the lesser included offense does not “break[ ] new ground or impose[ ] a new obligation on the states.”
Vasquez v. Strack,
Further, although we agree that a court has the power to correct its own errors, when the correction of those errors infringes a defendant’s rights under the Double Jeopardy Clause to finality and repose, the power to correct mistakes must cede ground. The court in Johnson erred in accepting defendant’s guilty plea to the lesser included сharges while the greater charges remained pending, and the prosecution objected to the entry of the plea. However, because the defendant had no interest in finality, since he offered to resolve only part of the charges against him, the Double Jeopardy Clause did not restrain the correction of that error.
Here, however, as in Brown, petitioner had an interest in finality because he had resolved all of the charges pending against him. Under the circumstances, the Double Jeopardy Clause acts to restrain the trial court from correcting any error.
Thus, we conclude that under Kercheval, Brown, and Johnson, which constitute “clearly established Federal law,” the second prosecution violated petitioner’s rights under the Double Jeopardy Clause.
We must now analyze the substance of the state court decision to determine whether it is contrary to or an unreasonable application of this clearly established federal law.
E. The State Court Decision
We conclude that the New York Court of Appeals applied the following rule in reaching its decision to reject Morris’s Double Jeopardy claim:
The double jeopardy bar does not arise until after conviction and imposition of sentence because “trial courts in criminal cases have the general inherent authority to correct their oum mistakes,” prior to sentencing. See Van Leer-Greenberg,
In
Williams v. Taylor,
. HI. CONCLUSION
For the reasons set forth above, we reverse the decision of the district court and grant the petition for a writ of habeas corpus. Since the time petitioner has spent incarcеrated already has exceeded the maximum penalty for the misdemeanor fourth degree weapons charge, we remand to the district court for entry of an order that the petitioner be immediately released from state confinement.
Notes
. This is a slight misstatement of the issue by the prosecution. The record does not indicate that the trial court actually vacated the plea. What it did do, however, is to reinstate the felony charge and refuse to sentence on the misdemeanor. Petitioner then instituted an Article 78 proceeding to prohibit vacatur of his plea. The Court of Appeals indicated the trial court could vacate the plea to a lesser charge and rеinstate the felony as part of its power to correct its error.
. The felony criminal possession of a weapon statute contains an exception for weapons possessed in a home or business.
. We note that because the parties do not make waiver arguments, we do not address the issue of whether petitioner's plea constituted a waiver.
. Exhaustion of the legal and factual claims in state court is not an issue.
See Morris,
. The AEDPA standard of review is:
An application for a writ of habeas corpus on behalf of a person in custody pursuant to the judgment of a State court shall not be granted with respect to any claim that was adjudicated on the merits in State court proceedings unless the adjudiсation of the claim—
(1) resulted in a decision that was contrary to, or involved an unreasonable application of, clearly established Federal law, as determined by the Supreme Court of the United States; or
(2) resulted in a decision that was based on an unreasonable determination of the facts in light of the evidence presented in the State court proceeding.
28 U.S.C. § 2254(d).
.
In a proceeding instituted by an application for a writ of habeas corpus by a person in custody pursuant to the judgment of a State court, a determination of a factual issue made by a State court shall be presumed to be correct. The applicant shall have the burden of rebutting the presumption of correctness by clear and convincing evidence.
28 U.S.C. § 2254(e)(1).
.
Teague v. Lane,
. We do not disagree with the district court's finding that the prosecutor earlier objected to the dismissal of the felony charge.
See Morris,
