OPINION
Kerney Ray Thornsbury pleaded guilty to being a felon in possession of ammunition, in violation of 18 U.S.C. §§ 922(g)(1) and 924(a)(2). As part of a plea agreement, Thornsbury waived his right to appeal “any sentence.” During Thornsbury’s subsequent incarceration, the government filed a motion pursuant to Federal Rule of Criminal Procedure 35(b), seeking to reduce his sentence in light of his assistance *534 to the government in prosecuting an unrelated case. The district court denied this motion, and Thornsbury appealed. Because we conclude that it is within the scope of Thornsbury’s appellate waiver, we dismiss the appeal.
I.
A.
On October 2, 2009, Thornsbury was charged with possession of ammunition after having been convicted of a felony in violation of 18 U.S.C. §§ 922(g)(1) and 924(a)(2). Pursuant to a plea agreement, Thornsbury pleaded guilty to this charge on October 7, 2009. As part of this plea agreement, Thornsbury waived his appellate rights as follows:
Mr. Thornsbury knowingly and voluntarily waives his right to seek appellate review of any sentence of imprisonment or fíne imposed by the District Court, or the manner in which the sentence was determined, on any other ground whatsoever including any ground set forth in 18 U.S.C. § 3742, so long as that sentence of imprisonment or fine is below or within the Sentencing Guideline range corresponding to offense level 20.
S.J.A. 5. The government similarly waived its right to appeal any sentence “within or above the Sentencing Guideline range corresponding to offense level 17.” Id. Both Thornsbury and his counsel signed this agreement.
Before accepting Thornsbury’s guilty plea, the district court, pursuant to Federal Rule of Criminal Procedure 11, 1 explained the terms of the appellate waiver, and questioned Thornsbury about his understanding of those terms. The district court asked if Thornsbury understood that, by agreeing to the waiver, he was giving up his right to “argue that certain errors may have taken place before the district court” should he be sentenced “within or below the guideline range corresponding with offense level 20.” S.J.A. 28-29. Thornsbury responded that he understood. The district court further inquired whether Thornsbury had “reviewed the plea agreement in detail with [his] attorney.” S.J.A. 30. Thornsbury responded that he had.
On March 25, 2010, the district court held a sentencing hearing. The district court first calculated a base offense level of 20. It then reduced the offense level to 17 as a result of Thornsbury’s acceptance of responsibility. This offense level, applied to Thornsbury’s criminal history category of II, yielded a sentencing guidelines range of 27 to 33 months. After analyzing the factors set forth in 18 U.S.C. § 3553(a), the district court sentenced Thornsbury to 33 months’ imprisonment and three years of supervised release. 2
B.
While incarcerated and awaiting sentencing, Thornsbury was assaulted and robbed by fellow inmates. In the ensuing investigation, Thornsbury provided assistance to the government, including testifying against the orchestrator of the attack, Alphonso Harper. As a result of this cooperation, Thornsbury was again assaulted by an associate of Harper.
*535 In return for his assistance in investigating Harper, the government, on May 31, 2011, filed a Motion to Reduce Sentence Pursuant to Rule 35. Rule 35 states, in relevant part, “Upon the government’s motion ... the court may reduce a sentence if the defendant, after sentencing, provided substantial assistance in investigating or prosecuting another person.” Fed. R.Crim.P. 35(b)(1). After describing Thornsbury’s assistance, the government noted that Thornsbury’s “cooperation could continue to put him at risk while incarcerated” and concluded that Thorns-bury “effectively assisted the United States in a significant case and that assistance should be rewarded.” J.A. 51. The government recommended that Thorns-bury’s sentence be reduced to correspond to an “offense level [of] 16, which would result in a range of 24 to 30 months.” Id. Thornsbury, through his counsel, filed a memorandum in support of the government’s motion.
On August 4, 2011, the district denied the government’s motion. The district court stated, in relevant part:
Defendant has served about twenty-nine (29) months of his thirty-three (33) month sentence and now seeks to have his sentence reduced by three (3) months due to his assistance to the Government. The nature of this assistance appears to be solely regarding matters in which he was the victim. While Defendant’s safety is of concern, it does not override the Court’s original consideration of the sentencing factors, particularly the seriousness of the offense, deterrence and public safety, set forth in 18 U.S.C. § 3553(a)....
Having carefully considered the Government’s motion and its basis, Defendant’s response, and having further reviewed the presentence investigation report, the Court finds that Defendant should not receive a reduction of his sentence under Rule 35. Accordingly, the Court ORDERS that the Motion of the United States to Reduce Defendant’s Sentence Pursuant to Rule 35 of the Federal Rules of Criminal Procedure [Docket 92] be DENIED.
J.A. 60-61. Thornsbury filed a timely notice of appeal.
II.
On appeal, Thornsbury relies on our decision in
United States v. Clawson,
We first examine our jurisdiction and then consider whether Thornsbury has waived his right to appeal this issue. Because we find the latter issue to be disposi *536 tive, we do not consider the merits of the appeal.
A.
We turn first to an examination of our jurisdiction. The right to appeal is not a constitutional guarantee, but must instead be found in an applicable statute.
Abney v. United States,
The circumstances in which a final sentence may be appealed are set out in 18 U.S.C. § 3742, which provides, in pertinent part, that a defendant may appeal a final sentence if it:
(1) was imposed in violation of law;
(2) was imposed as a result of an incorrect application of the sentencing guidelines; or
(3) is greater than the sentence specified in the applicable guideline range to the extent that the sentence includes a greater fine or term of imprisonment, probation, or supervised release than the maximum established in the guideline range, or includes a more limiting condition of probation or supervised release under section 3563(b)(6) or (b)(11) than the maximum established in the guideline range; or
(4) was imposed for an offense for which there is no sentencing guideline and is plainly unreasonable.
18 U.S.C. § 3742(a).
Thornsbury claims we have jurisdiction to hear his appeal pursuant to subsection (1) of § 3742(a). We agree. On appeal, Thornsbury contends that the district court violated Rule 35(b) by basing its decision to deny the government’s motion on factors other than Thornsbury’s assistance to the government. If Thornsbury is correct that a district court cannot base its decision to deny a Rule 35(b) motion on factors other than a defendant’s assistance to the government and that the district court here considered such factors, then the district court acted contrary to Rule 35(b) in determining Thornsbury sentence, thus imposing a sentence “in violation of law.” Such an appeal falls squarely under § 3742(a)(1).
In response, the government relies on our decision in
Pridgen,
which the government describes as containing a “plainly-stated ban on appeals of denials of Rule 35(b) motions.” Appellee’s Br. 12.
Pridgen
contains no such ban, plainly stated or otherwise. In
Pridgen,
we held that a defendant may not appeal “the
merits
of the decision of the district court not to” grant a Rule 35(b) motion.
B.
We next consider whether Thornsbury waived his right to appeal the district court’s denial of the government’s Rule 35(b) motion. We review the validity and effect of an appellate waiver de novo.
United States v. General,
Thornsbury makes two arguments as to why his appeal should not be dismissed pursuant to the waiver. 5 First, he argues that because “Rule 35(b) proceedings were never addressed in the plea agreement or plea hearing, [he] could not have knowingly and intelligently agreed to waive any rights related to them.” Reply Br. 3. Second, he argues that, according to our precedent, appeals, like this one, that challenge a sentence as imposed in violation of law are categorically “outside the scope of otherwise valid appeal waivers.” Reply Br. 4. We consider each of these arguments in turn.
1.
We first consider — and reject — Thorns-bury’s argument that because the possibility of a Rule 35(b) proceeding was not discussed at his allocution, he “could not have knowingly and intelligently agreed to waive any rights related” to such a proceeding. Reply Br. 3.
“[T]he law ordinarily considers a waiver knowing, intelligent, and sufficiently aware if the defendant fully understands the nature of the right and how it would likely apply
in general
in the circumstances — even though the defendant may not know the
specific detailed
consequences of invoking it.”
United States v. Ruiz,
*538 Thornsbury does not dispute that he was competent to understand his plea agreement, including his appellate waiver. Thornsbury also does not dispute that he was aware he was waiving his right to appeal “any sentence.” It is the law of this circuit after Pridgen that the denial of a Rule 35(b) motion is part of a defendant’s sentence, 6 and it is undisputed that Thornsbury discussed the waiver with his attorney. Accordingly, by knowingly and intelligently waiving his right to appeal “any sentence,” Thornsbury knowingly and intelligently waived his right to appeal the denial of a Rule 35(b) motion.
That the specific issue Thornsbury now appeals was not discussed at the Rule 11 hearing does not change our conclusion. To hold otherwise would be to accept Thornsbury’s premise that a defendant can only knowingly and intelligently consent to waive his right to appeal those issues that are explicitly discussed at a Rule 11 hearing. Such a premise, however, finds no support in precedent,
see Ruiz,
Moreover, “[a] plea agreement, like any contract, allocates risk.”
Johnson,
2.
Finally, we consider whether Thornsbury’s appeal is within the scope of his appellate waiver. The scope of Thornsbury’s waiver is quite broad. As noted above, Thornsbury waived his right to appeal “any sentence.” S.J.A. 5. We have held that an appeal from a district court’s decision on a Rule 35(b) motion is an appeal of the sentence at which the Rule 35(b) motion was aimed.
See Pridgen,
In the face of the plain language of the waiver, Thornsbury nonetheless argues that his appeal is outside its scope. He bases his argument on the fact that we have previously held that appeals challenging a sentence as “illegal” fall outside the scope of an otherwise effective waiver. Because Thornsbury challenges his sentence as “imposed in violation of law”— claiming that the district court violated Rule 35(b) and Clawson by considering non-assistance factors in denying the government’s motion — he contends that his appeal is of an illegal sentence and thus outside of the scope of the waiver. We disagree.
We have indeed used the term “illegal” to describe sentences the appeal of which survive an appellate waiver, but we have done so only where the sentence is alleged to have been beyond the authority of the district court to impose.
See United States v. Broughton-Jones,
We instead view challenges to a sentence as “illegal” as those involving much more fundamental issues — such as challenges claiming a district court exceeded its authority, claiming that a sentence was based on a constitutionally impermissible factor such as race, or claiming a post-plea violation of the right to counsel.
See Marin,
III.
For the foregoing reasons, Thornsbury’s appeal is
DISMISSED.
Notes
. Rule 11 sets forth the procedures for accepting a defendant’s guilty plea. Among other things, Rule 11 requires the district court to "inform the defendant of, and determine that the defendant understands ... the terms of any plea-agreement provision waiving the right to appeal.” Fed.R.Crim.P. 11(b)(1).
. We affirmed Thornsbury’s sentence on appeal.
United States v. Thornsbury,
. In
Clawson,
we held “that the district court exceeded its authority under Rule 35(b) by
granting
the motion based on factors other than the defendant's cooperation with the government.”
. Furthermore, all other courts of appeals to have considered this precise issue have concluded that jurisdiction exists.
See, e.g., United States v. Chapman,
. Thornsbury does not dispute that the condition of his waiver — being sentenced within or below the guidelines range corresponding to an offense level of 20 — was satisfied.
. "All citizens are presumptively charged with knowledge of the law.”
Atkins v. Parker,
. Other circuits refer to these circumstances generally as a ''miscarriage[s] of justice” that justify ignoring an otherwise valid waiver.
See, e.g., United States v. Polly,
