KAUTZ, Justice.
[¶ 1] Pursuant to a plea agreement with the State of Wyoming, Elton Henry pleaded no contest to one count of first degree sexual abuse of a minor and one count of second degree sexual abuse of a minor, both felonies. He challenges his convictions on appeal, claiming the district court did not properly advise him that his future employment opportunities could be affected by loss of the privilege to possess firearms. We conclude he waived his right to appeal this issue in his plea agreement and, in any event, the district court's advisement was sufficient.
[¶ 2] We affirm.
[¶ 3] Mr. Henry presents the following issue on appeal:
The State raises an additional issue, which we rephrase:
[¶ 4] The underlying facts of this case are not directly relevant to the issues on appeal. In summary, the State charged Mr. Henry with nine felony counts of sexual abuse of his two young grandchildren. The State and Mr. Henry entered into a written plea agreement in which he pleaded no contest to one count of first degree sexual abuse of a minor under Wyo. Stat. Ann. § 6-2-314(a)(i) (LexisNexis 2015)
[¶ 5] Prior to accepting his no contest pleas, the district court advised Mr. Henry in open court that the legal consequences of pleading no contest were the same as pleading guilty. The court also explained:
[¶ 6] At sentencing, the district court rejected Mr. Henry's request for a suspended sentence. It ordered him to serve twenty-five to thirty years in prison on the first degree conviction and eighteen to twenty years in prison on the second degree conviction, with the terms to run concurrently. Mr. Henry filed a timely notice of appeal.
[¶ 7] Mr. Henry claims his convictions are invalid because the district court failed to comply with Wyo. Stat. Ann. § 7-11-507 (LexisNexis 2015). That statute states:
Id., ¶ 19, 286 P.3d at 1040.
[¶ 9] In Balderson v. State, 2013 WY 107, ¶ 14, 309 P.3d 809, 812 (Wyo.2013), we explained there are two distinct advisements required by § 7-11-507. Subsection (a)(i) requires the district court to advise a defendant pleading guilty or no contest to a felony of possible disqualification from possessing firearms under federal law, and subsection (a)(ii) requires notification that loss of the firearm privilege may affect the defendant's employment opportunities. Id. See also Parks v. State, 2014 WY 57, 325 P.3d 915 (Wyo.2014); Cobb v. State, 2013 WY 142, 312 P.3d 827 (Wyo.2013); Pedraza v. State, 2014 WY 24, 318 P.3d 812 (Wyo.2014). The advisements are necessary to ensure the defendant enters his plea with knowledge of all potential consequences, and the failure to give them will result in reversal of the convictions. Balderson, ¶¶ 22, 25, 309 P.3d at 814.
[¶ 10] Furthermore, the advisements are compulsory even though the defendant may not actually be affected by the particular consequences. In McEwan v. State, 2013 WY 158, ¶ 19, 314 P.3d 1160, 1166 (Wyo. 2013), we reversed the defendant's conviction because she was not given the firearms advisements when she pleaded guilty to obtaining welfare benefits by misrepresentation. The Court reached that conclusion even though Ms. McEwan had previously lost her firearms privileges as the result of a felony conviction and "she was not employed in an occupation that required her to carry a firearm, and we ha[d] no reason to believe that she [had or ever would] have aspirations to obtain such a job." Id.
[¶ 11] The State claims Mr. Henry waived, in his plea agreement, the right to appeal the district court's failure to give the firearms advisement. In Bush v. State, 2003 WY 156, ¶ 6, 79 P.3d 1178, 1181 (Wyo.2003), we stated that "a defendant may waive his right to appeal, so long as that waiver is knowing and voluntary." See also United States v. Hernandez, 134 F.3d 1435, 1437
[¶ 12] In United States v. Hahn, 359 F.3d 1315, 1325 (10th Cir.2004) (en banc) (per curiam), the United States Court of Appeals for the Tenth Circuit adopted a three-part test to determine whether a waiver of the right to appeal is enforceable in a given case. Under the test, the appellate court determines:
Id. By ensuring the waiver is knowing and voluntary and does not result in a miscarriage of justice, the Hahn test protects against the concerns voiced in Noel.
[¶ 13] Under the first element of the Hahn test, we must determine the scope of Mr. Henry's waiver of his right to appeal. We review plea agreements de novo and interpret them using general contract principles. Schade v. State, 2002 WY 133, ¶ 5, 53 P.3d 551, 554 (Wyo.2002); Noel, ¶ 17, 319 P.3d at 142. Ambiguities in a waiver of appellate rights will be interpreted against the State; however, a defendant will be held to the clear terms of a lawful plea agreement. Hahn, 359 F.3d at 1325, 1328.
[¶ 14] In Wyoming, questions about the meaning of a plea agreement have typically arisen in the context of a defendant's claim that the State breached the terms of the agreement. Schade, supra. See also Fernandez v. State, 2006 WY 8, 126 P.3d 111 (Wyo.2006). However, Knox v. State, 848 P.2d 1354 (Wyo.1993), addressed whether the defendant waived the right to claim a violation of the Interstate Agreement on Detainers Act (IAD) when he entered his guilty plea. There was apparently no written plea agreement but, after reviewing the agreement as recited by the parties at the change of plea and sentencing hearings, we concluded Mr. Knox had not waived that right. Id. at 1356-58.
[¶ 15] In the case at bar, the scope of Mr. Henry's waiver of his rights is set out in the written plea agreement, which states in relevant part:
[¶ 16] The scope of the waiver was extensive. The waiver language in the plea agreement included relinquishment of his right to appeal and any objections to the "[plea] agreement, plea(s) and convictions." This language plainly foreclosed objections on appeal about the procedures used by the district court in accepting his pleas and entering the convictions. The advisements required under § 7-11-507 are part of the procedures for entering convictions on felony pleas.
[¶ 17] The waiver also specifically included notification of possible negative consequences of the pleas on his right to possess firearms. This Court has recognized and enforced specific waivers included in plea agreements in past cases. In Beck v. State, 2005 WY 56, ¶ 12, 110 P.3d 898, 901 (Wyo. 2005), we upheld the defendant's express waiver of the right to argue his convictions merged for purposes of sentencing. We said: "A criminal defendant may waive any personal right `so long as there is no violation of public policy[,] ... the public's interests
[¶ 18] Under the second element of the Hahn test, we consider whether the waiver was knowing and voluntary. The Hahn court identified two factors to determine whether the appellate waiver was knowing and voluntary. "First, we examine whether the language of the plea agreement states that the defendant entered the agreement knowingly and voluntarily. Second, we look for an adequate ... Rule of Criminal Procedure 11 colloquy." Hahn, 359 F.3d at 1325 (citations omitted). With regard to the first inquiry, the plea agreement contained the following statement: "By entering this plea(s) the Defendant represents to the Court and agrees that this agreement is being done knowingly and voluntarily." At the Change of Plea hearing, Mr. Henry acknowledged that he had read and understood the terms of the plea agreement:
As this colloquy demonstrates, Mr. Henry repeatedly stated that he had read and understood the terms of the agreement.
[¶ 19] We would next consider whether the district court complied with W.R.Cr.P. 11. However, Mr. Henry does not claim on appeal that his pleas were not entered knowingly and voluntarily or otherwise in violation of W.R.Cr.P. 11. Thus, the second element of the Hahn test is satisfied.
[¶ 20] The final Hahn element is whether enforcement of the waiver would result in a miscarriage of justice. The factors considered in determining if there is a miscarriage of justice were set forth in United States v. Elliott, 264 F.3d 1171, 1173 (10th Cir.2001):
To warrant relief under the fourth factor, the error must seriously undermine the fairness, integrity or public reputation of judicial proceedings. Hahn, 359 F.3d at 1327, citing United States v. Olano, 507 U.S. 725, 732, 113 S.Ct. 1770, 123 L.Ed.2d 508 (1993).
[¶ 21] In the case at bar, there are no assertions that the district court relied on race or any other improper factor, Mr. Henry
[¶ 22] Dismissal of the appeal is the typical remedy when a defendant waives his right to appeal. Hahn, 359 F.3d at 1328. Nevertheless, in the interest of completeness, we will briefly address the sufficiency of the district court's advisements under the statute. As noted above, our precedent has interpreted § 7-11-507(a) as requiring two advisements: 1) the possibility of disqualification from possessing firearms under federal law; and, 2) the possibility that loss of the firearm privilege may affect a defendant's employment opportunities. Mr. Henry concedes he was notified about the possible loss of his firearms privilege but claims he was not advised of the possible employment consequences. The record from the change of plea hearing shows otherwise. The district court told Mr. Henry:
[¶ 23] Obviously, the district court did not advise Mr. Henry word for word from the statute and the advisement was a bit confusing because it referred to the employment consequences of his convictions before telling him of the possibility of losing the firearm privilege. However, prior to the change of plea hearing, Mr. Henry had been advised of the firearms consequences of his convictions in the plea agreement, which he stated he had read and understood. Common sense would have told him that the employment consequences referred to by the district court at the change of plea hearing could be associated with his loss of firearms privileges.
[¶ 24] While our precedent is clear that the advisements are compulsory, we have not required the district courts to recite them verbatim from the statute. See, e.g., Parks, Cobb, Pedraza, supra (stating district courts' advisements that the defendants could lose the "right to own and possess certain types of weapons," "the right to possess firearms under federal law," or "your right to bear arms by federal law" likely satisfied § 7-11-507(a)(i)). The district court's firearms advisement in this case was sufficient to satisfy the requirements of § 7-11-507(a).
[¶ 25] Affirmed.