Affirmed by published opinion. Chief Judge WILLIAMS wrote the opinion, in which Judge TRAXLER and Judge KING joined.
OPINION
In a written plea agreement with the Government, Jason Landis Linder knowingly and voluntarily waived his right to a direct appeal of his conviction and sentence for conspiracy to distribute and possess with the intent to distribute heroin. On direct appeal, we enforced this waiver and rejected Linder’s challenge to his sentence under
United States v. Booker,
I.
On May 25, 2004, Linder knowingly and voluntarily pleaded guilty pursuant to a written plea agreement to one count of conspiracy to distribute and possess with the intent to distribute one kilogram or more of heroin in violation of 21 U.S.C.A. §§ 846, 841(a)(1) and (b)(1)(A) (West 1999 & Supp.2008). The plea agreement provided in relevant part:
4. Waiver of Appeal and Review
The defendant also understands that Title 18, United States Code, Section 3742 affords a defendant the right to appeal the sentence imposed. Nonetheless, the defendant knowingly waives the right to appeal the conviction and any sentence within the maximum provided in the statute of conviction (or the manner in which that sentence was de *393 termined) on the grounds set forth in Title 18, United States Code, Section 3712 or on any ground whatsoever, in exchange for the concessions made by the United States in this plea agreement. 1
(J.A. at 53 (emphasis added).) At Linder’s plea hearing, the district court conducted a proper Rule 11 colloquy, during which Lin-der stated that he had signed the plea agreement, initialed the bottom of each page, read each paragraph, discussed the agreement with counsel, and fully understood the agreement. Linder also specifically acknowledged that he understood that he was waiving his right to appeal any sentence within the statutory maximum. The district court accepted Linder’s plea, finding “that [Linder] is fully competent and capable of entering an informed plea, that he understands the nature of the charges and the consequences of his plea, [and] that the plea of guilty is a knowing and voluntary plea supported by an independent basis in fact containing each of the essential elements of the offense.” (J.A. at 50.)
Following Linder’s guilty plea but prior to his sentencing, the Supreme Court decided
Blakely v. Washington,
Thereafter, a probation officer prepared a Presentence Investigation Report (“PSR”) for Linder. In the PSR, the probation officer attributed 4,888.736 grams of heroin and 9.6 grams of cocaine base to Linder through relevant conduct, see U.S. Sentencing Guidelines Manual (“U.S.S.G.”) § 1B1.3 (2003), and, based on these amounts, determined that Linder’s base offense level was 34 pursuant to U.S.S.G. § 2Dl.l(c)(3) (2003). The probation officer determined that Linder was subject to both a four-level enhancement pursuant to U.S.S.G. § 3Bl.l(a) (2003) for his leadership role in the offense and a three-level reduction pursuant to U.S.S.G. § 3E1.1 (2003) for his acceptance of responsibility.
Linder objected to the probation officer’s determination of drug weights in the PSR as well as the description of his role in the conspiracy. Linder also asserted that the holding in Blakely should apply to his sentencing proceedings, arguing that the Sixth Amendment right to a jury trial attaches to findings that enhance a defendant’s sentence under the Federal Sen- *394 teneing Guidelines. Thus, Linder contended that, based on a drug weight of 1,500 grams of heroin — the amount the Government thought it could prove at the time the plea was entered, his base offense level should be 32 (rather than 34). On October 1, 2004, the district court denied Linder’s motion to strike and dismiss the sentencing guidelines enhancements from the PSR, citing Hammoud for the proposition that “Blakely does not apply to the United States Sentencing Guidelines.” (J.A. at 93.)
At sentencing on October 4, the district court found by a preponderance of the evidence that the drug weights involved exceeded four kilograms of heroin and set the base offense level at 34. The district court increased the offense level by 4, finding by a preponderance of the evidence that Linder acted in a leadership or organizer role in a conspiracy that involved five or more participants, and reduced the offense level by 3 for Linder’s acceptance of responsibility, so that Linder’s total offense level was 35. Based on this offense level and Linder’s Criminal History Category of V, the district court sentenced him under the then-mandatory guidelines to 262 months imprisonment. Following our guidance in Hammoud, the district court also found that “[i]n the event the Court was not confined by the sentencing guidelines in this case, the Court would impose a sentence of 120 months.” (J.A. at 159.)
Noting that the sentence imposed was within the statutory maximum and that Linder had previously waived his right to appeal any sentence within the statutory maximum, the district court asked Linder if he still wanted to abide by his waiver of his right to appeal. Linder responded, “Yes, sir.” (J.A. at 157.) The district court entered the judgment on October 13, 2004.
Despite the waiver of his right to appeal, Linder noticed a timely appeal on October 14, 2004, challenging his sentences based on
Blakely.
While his direct appeal was still pending before us, the Supreme Court decided
Booker
on January 12, 2005, holding that “the Sixth Amendment as construed in
Blakely
does apply to the Sentencing Guidelines,”
Booker,
Ultimately, the Government invoked the appeal waiver in Linder’s plea agreement, and we dismissed Linder’s appeal on April 5, 2006, concluding that Linder waived his right to appeal and that the waiver included any challenges under
Blakely
or
Booker. United States v. Linder,
In addition to his petition for a writ of certiorari before the Supreme Court, on July 13, 2006, Linder, acting pro se, filed a Memorandum in Aid of Sentencing (“Petition for Relief’) in the district court, requesting that the district court, in light of Booker, “vacate the sentence of 262 months and impose the Court[’s] alternate sentence of 120 months.” (J.A. at 185.) The district court informed Linder that it “intend[ed] to construe [Linderj’s motion under 28 U.S.C. § 2255 (Supp. IV1998), as a Motion to Vacate, Set Aside and/or Correct Sentence,” and ordered Linder to file a response within 30 days to the court’s intention to construe the motion in this manner. (J.A. at 191.)
*395 On August 18, 2006, Linder, through counsel, filed a Motion to Impose Alternative Sentence, which the district court incorporated into Linder’s Petition for Relief under § 2255. On October 12, 2006, the district court denied the Petition for Relief, reasoning as follows:
[T]he Fourth Circuit has squarely held that the rule in Booker is not to be applied retroactively to prisoners whose convictions became final before Booker was decided. Petitioner’s judgment was filed on October 13, 2004. Booker was decided on January 12, 2005. Petitioner’s appeal to the Fourth Circuit was dismissed and his motion to remand denied because Petitioner waived his right to appeal in the plea agreement. Therefore, Petitioner’s conviction was final before Booker, and Booker does not apply in the instant case.
(J.A. at 209-10 (internal citations omitted).)
Linder,
pro se,
filed a Motion to Alter or Amend Judgment, arguing that his conviction was not final on the date the Supreme Court decided
Booker
and that, under
Clay v. United States,
We possess jurisdiction under 28 U.S.C.A. §§ 1291 and 2253 (West 2006).
II.
A.
In an appeal from the denial of a § 2255 motion, we review a district court’s legal conclusions
de novo. United States v. Poindexter,
The Supreme Court has held that “a new rule for the conduct of criminal prosecutions is to be applied retroactively to all cases ... pending on direct review or not yet final, with no exception for cases in which the new rule constitutes a ‘clear break’ with the past.”
Griffith v. Kentucky,
Now, on appeal of the district court’s denial of his § 2255 motion seeking a remand for resentencing consistent with Booker, Linder argues that, despite his appeal waiver, his case was “pending on direct review” when Booker was decided on January 12, 2005 because he timely noticed a direct appeal on October 14, 2004 and we did not resolve his direct appeal until April 5, 2006—nearly 15 months after Booker was decided. In Linder’s view, his conviction was not “final” until the Supreme Court denied certiorari on October 2, 2006. Thus, Linder maintains that Booker’s holdings apply to his case and that we must remand for resentencing consistent with Booker.
The Government counters that Booker is unavailable to Linder in his § 2255 motion because Linder litigated and lost his Sixth Amendment claim on direct appeal. The Government therefore contends that Lin-der may not avoid the consequences of his *396 appeal waiver and our prior judgment by reviving his Booker claim in a § 2255 motion.
B.
We agree with Linder that his conviction was not “final” until the Supreme Court denied certiorari.
See Clay,
In
Shea v. Louisiana,
[I]f a case was pending on direct review at the time Edwards was decided, the appellate court must give retroactive effect to Edwards, subject, of course, to established principles of waiver, harmless error, and the like. If it does not, then a court conducting collateral review of such a conviction should rectify the error and apply Edwards retroactively. This is consistent with Justice Harlan’s view that cases on collateral review ordinarily should be considered in light of the law as it stood when the conviction became final.
Id.
at 58 n. 4,
We find this holding determinative of the issue before us. On direct appeal, Linder challenged his sentence based on
Blakely
and
Booker. See Linder,
174 F.App’x at 175. Consistent with
Shea’s
instruction that “the appellate court must give retroactive effect to [a new rule for the conduct of criminal prosecutions], subject ... to ... waiver,” we refused to give effect to
Blakely
or
Booker
because Lin-der’s challenges were within the scope of his plea agreement’s knowing and voluntary direct appeal waiver.
See Linder,
III.
For the foregoing reasons, the judgment of the district court is hereby
AFFIRMED.
Notes
. "Applying standard contract law, we enforce a plea agreement’s plain language in its ordinary sense and do not write the contracts of the parties retroactively, but merely construe the terms of the contract the parties have previously signed.”
United States
v.
Jordan,
. Linder argues that the Government waived this argument because it did not raise the direct appeal waiver as a procedural bar to relief under Linder’s § 2255 motion before the district court. Even if we agreed with Linder that the Government had failed to raise the waiver argument in the district court, we would still consider it in the unique circumstances of this case where (1) Linder appealed his sentence despite the appeal
*397
waiver in his plea agreement, (2) the Government sought to enforce the waiver of appellate rights on direct appeal, (3) we granted the motion to dismiss the direct appeal on the basis of the knowing and voluntary waiver, (4) there is no suggestion that our ruling on direct appeal was in error, and (5) Linder now presents the same challenges to his sentence on collateral review.
See United States v. Metzger,
