James Mandell Lewis brought this 28 U.S.C. § 2255 petition seeking vacation of his conviction under 18 U.S.C. § 924(e) without fear of future prosecution on other counts dismissed pursuant to his plea agreement. The district court denied relief. Mr. Lewis appeals and we affirm.
I
Mr. Lewis was charged in a second superseding indictment with eleven counts of various cocaine and firearms offenses. In accordance with a written plea agreement filed with the court, Mr. Lewis pled guilty to count ten, which charged him with using a firearm during and in relation to a drug trafficking offense in violation of section 924(c)(1). The remaining counts were dismissed. He was sentenced to sixty months in prison and did not file a direct appeal.
The Supreme Court subsequently issued its opinion in
Bailey v. United States,
In a thorough and thoughtful memorandum and order, the district court held Mr. Lewis could seek to rescind his agreement with the government because of the parties’ mutually mistaken belief when entering' the plea bargain that the evidence supported the section 924(c)(1) count.
See United States v. Lewis,
Lewis is the party adversely affected by. the parties’ mutual mistake. His plea agreement with the government is therefore voidable if he so chooses. Under contract, equitable and constitutional principles, Lewis may seek to withdraw his plea. Lewis is not, however, entitled to vacation of his conviction without fear of prosecution on the counts dismissed pursuant to the plea agreement.
Id.
Pointing out that withdrawal of the plea might expose Mr. Lewis to a substantially longer period of imprisonment than he had received under the plea agreement, the district court strongly encouraged Mr. Lewis to seek the advice of counsel, denied his section 2255 petition to the extent it sought to vacate only the section 924(c)(1) conviction, and took the matter under advisement to allow Mr. Lewis the opportunity to review his options in light of the court’s ruling. Id. at 1521-22. In response, Mr. Lewis continued to argue that he was entitled to challenge only the portion of the plea agreement under which he was convicted of violating section 924(c)(1), and moved the court to treat his response as a notice of appeal of the court’s ruling to the contrary. The court then construed Mr. Lewis’ section 2255 petition as one seeking to vacate his section 924(c)(1) conviction without fear of prosecution on the counts dismissed pursuant to the plea agreement and denied it. 1
II
On appeal, Mr. Lewis contends that because he did hot seek vacation of his plea, the district court was without authority to direct him to choose between vacating the entire plea agreement or having his section 2255 motion denied. He further contends the district court erred in ruling that if Mr. Lewis successfully challenged his section 924(c)(1) ■ conviction, the government could proceed against him on the dismissed charges.
In support of his position, Mr. Lewis relies on the Ninth Circuit’s opinion in
United States v. Sandoval-Lopez,
In
Barron,
the defendant entered into a plea agreement under which he pled guilty to one firearm possession count, one drug possession count, and one count of violating section 924(e)(1). He was given concurrent sentences of 120 months on the possession charges, and a consecutive sentence of 60 months on the section 924(c)(1) count. After the defendant began serving his sentence, he sought relief under section 2255 alleging that his section 924(c)(1) conviction was invalid under the recently decided
Bailey.
The district court agreed, but ruled that if the defendant chose to let his section 2255 motion stand, the court would rescind the entire plea agreement, reinstate all three counts, and return the parties to the position they were in before entering the plea agreement.
See Barron,
On appeal, the Ninth Circuit held that when the challenged conviction is part of a package, the district court has jurisdiction to “abrogate an entire plea agreement under section 2255, even when that entails vacating unchallenged counts of conviction.”
Barron,
This court has joined those circuits holding that “a district court has authority to resen-tence a defendant on unchallenged related convictions, after vacating a § 924(c) conviction in a § 2255 proceeding.”
United States v. Mendoza,
We agree with the Ninth Circuit in Barron that the broad and flexible remedial power conferred on the district court by section 2255 together with the interdependence of the various counts disposed of in a plea agreement, upon which we relied in Mendoza, provide the district court with authority to vacate an entire plea agreement when a conviction that is part of the plea package is vacated. 3
*843 Given the realities of plea bargaining, it makes good sense to apply the sentence package concept when a petitioner challenges one of multiple convictions obtained under a plea agreement____ Because the district court cannot possibly know what convictions or sentences [a defendant] would have received had he not pleaded guilty to the section 924(c) count ..., an appropriate remedy is to put [the defendant] in the position he was in before he entered into the plea agreement or before the district court accepted the plea based on conduct which did not constitute the crime charged.
Barron,
In sum, we AFFIRM the district court’s decision denying Mr. Lewis’ motion to vacate his section 924(c) conviction without vacating the plea agreement under which it was entered. •
Notes
. The district court issued a certificate of appeal-ability pursuant to this court’s Emergency General Order, In re Procedures Regarding the Prison Litigation Reform Act and the Antiterrorist and effective Death Penalty Act, No. 96-41 (10th Cir. Oct. 1, 1996).
. Applying contract principles, we held in
Bun-ner
that the purpose of the plea agreement was frustrated by an intervening event, the decision in
Bailey.
The defendant was then faced with two choices: he could perform under the agreement as though
Bailey
did not exist, or he could move to vacate his sentence on the basis of
Bailey.
Once he did the latter, he relieved the government from performing its side of the plea bargain.
See Bunner,
. Although we were guided by contract principles when deciding
United States v. Burner,
