¶1This case presents the question whether someone convicted of failing to comply with the Sex Offenders Registration Act (SORA)
¶2I. FACTS AND PROCEDURAL HISTORY
¶3As a result of a 2007 misdemeanor conviction of fourth-degree criminal sexual conduct, defendant was required to register on the Michigan Sex Offender Registry semiannually for 25 years. Defendant failed to properly register and in February 2010 pleaded guilty of SORA-1, a felony, and was sentenced to 5 years’ probation, with the first 4 months served in jail. On April 30, 2012, defendant registered his address as 6123 Clarksville Road in Clarksville, Michigan. He verified that address on January 9, 2013. In March 2013, Clarksville police received an anonymous tip that defendant was not living at the Clarksville Road address, but at 211 West Riverside. After investigating, police determined that the Clarksville Road address was vacant and that defendant was staying at 211 West Riverside, the home of his spouse.
¶4Defendant appealed, arguing, among other things, that he is entitled to resentencing because the trial court erred when it enhanced his sentence under the habitual-offender provisions. The Court of Appeals *313vacated defendant’s sentence and remanded for re-sentencing, concluding that the sentence imposed for defendant’s SORA-2 conviction could not be enhanced under the applicable habitual-offender statute.
¶5The Court of Appeals noted that the “language of MCL 769.10(l)(a) directs a sentencing court to sentence the offender for a subsequent offense to a maximum term ‘that is not more than IV2 times the longest term prescribed for a first conviction of that offense . . . ”
The maximum term prescribed for a first conviction of that offense is 4 years’ imprisonment. MCL 28.729(l)(a). Thus, under MCL 769.10(l)(a) defendant would be subject to no more than 6 years’ imprisonment—IV2 times 4 years is 6 years. The trial court erred by basing defendant’s sentence on IV2 times the maximum prison sentence (7 years) provided under MCL 28.729(l)(b) because that provision sets forth the punishment for a second conviction of failure to comply with SORA. The plain language of MCL 769.10(1)(a) clearly directs a court to enhance a sentence by increasing the longest term prescribed for a first conviction of the subsequent offense, not the longest term prescribed for a second conviction)[9 ]
¶6As a result, the Court of Appeals concluded that SORA and the HOA conflicted because under the applicable habitual-offender statute, defendant was subject to not more than a 6-year prison sentence, while under SORA-2, MCL 28.729(1)(b), defendant was *314subject to a 7-year maximum sentence.
¶7We granted leave to address “whether the second-offense habitual-offender enhancement set forth under MCL 769.10 may be applied to the sentence prescribed under MCL 28.729(l)(b).”
¶8II. STANDARD OF REVIEW AND RULES OF STATUTORY INTERPRETATION
¶9We review de novo questions of statutory interpretation.
¶10In this case we examine the interplay between several statutes: the HOA, SORA, and the sentencing guidelines, MCL 777.1 et seq. “[A] court’s duty is to give meaning to all sections of a statute and to avoid, if at all possible, nullifying one by an overly broad interpretation of another.”
¶11III. ANALYSIS
¶12A. THE HABITUAL OFFENDER ACT
¶13In 1927, Michigan enacted the HOA as part of Chapter IX of the Code of Criminal Procedure.
¶14Importantly, in 1998 the Legislature expressly instructed courts when enhancement under the HOA is inapplicable. Each of the three enhancement sections states: “A conviction shall not be used to enhance a sentence under this section if that conviction is used to enhance a sentence under a statute that prohibits use of the conviction for further enhancement under this section.”
¶15*317The Legislature has also demonstrated that when it intends to do so, it is able to exclude particular categories of felonies from the HOA.
If the subsequent felony is a major controlled substance offense, the person shall be punished as provided by Act No. 196 of the Public Acts of 1971, as amended, being sections 335.301 to 335.367 of the Michigan Compiled Laws.[30 ]
¶16The HOA makes no such exception for convictions under SORA’s recidivism provisions, MCL 28.729(l)(a), (b), and (c). The Legislature has amended various criminal statutes to expressly prohibit application of the HOA to an offense,
¶17There being no statutory bar to the application of the HOA to SORA, the trial court sentenced defendant as a second-offense habitual offender under MCL 769.10(l)(a), which states:
If a person has been convicted of a felony or an attempt to commit a felony . . . and that person commits a subsequent felony within this state, the person shall be punished upon conviction of the subsequent felony... as follows:
(a) If the subsequent felony is punishable upon a first conviction by imprisonment for a term less than life, the court. . . may place the person on probation or sentence the person to imprisonment for a maximum term that is *319not more than IV2 times the longest term prescribed for a first conviction of that offense or for a lesser term. [Emphasis added.]
¶18Defendant maintains, and the Court of Appeals agreed, that the words “that offense” refer to violations of SORA generally under MCL 28.729(1). Defendant’s position is premised on the notion that MCL 28.729(l)(a) to (c) are merely sentence-enhancement provisions applicable when there are repeat violations of SORA. The prosecution contends, and the trial court agreed, that the words “that offense” refer to separate felony convictions under MCL 28.729(1), in this case SORA-2, MCL 28.729(l)(b). Accordingly, we must determine whether SORA sets forth a single substantive offense with enhanced punishments for subsequent violations or whether SORA provides three separate and distinct substantive offenses for recidivist behavior.
¶19B. SORA CREATES THREE SEPARATE OFFENSES
¶20There is strong textual support leading to the conclusion that the Legislature created three separate offenses in MCL 28.729(1).
¶21The sentencing guidelines expressly assign felonies an offense category and offense class, and MCL 777.11 to MCL 777.18 give descriptions of the offenses and identify the statutory maximum terms of imprisonment. Before the 1999 amendment of SORA that set forth SORA-1, SORA-2, and SORA-3, MCL 777.11 (as originally enacted by 1998 PA 317) identified MCL 28.729 as establishing one offense, a Class G felony,
¶22Having concluded that SORA does indeed create three separate offenses, we return to the provision of the HOA at issue:
If the subsequent felony is punishable upon a first conviction by imprisonment for a term less than life, the court. .. may place the person on probation or sentence the person to imprisonment for a maximum term that is not more than IV2 times the longest term prescribed for a first conviction of that offense or for a lesser term.[43 ]
¶23The words “first conviction of that offense” plainly refer to “the subsequent felony” identified in the first part of the sentence. Defendant’s subsequent felony is his conviction in June 2013 of SORA-2, which is punishable by a maximum of 7 years’ imprisonment.
¶24We conclude that the Court of Appeals erred by interpreting MCL 28.729(1) and MCL 769.10 as directly conflicting. Defendant was charged with and convicted of SORA-2, MCL 28.729(l)(b), and not a violation of SORA generally. We must then consider the longest term prescribed for a first conviction of SORA-2 under MCL 28.729(l)(b), which, again, is 7 years. MCL 769.10(l)(a) states that the court may sentence a defendant to a term of imprisonment IV2 times the longest term prescribed for a “first conviction of that offense.”
¶25C. CASELAW SUPPORTS APPLICATION OF THE HOA TO A SORA-2 CONVICTION
¶26Michigan caselaw also supports our conclusion that a SORA-2 conviction can be enhanced under the HOA. In People v Bewersdorf, one of the defendants, Bewersdorf, pleaded guilty of operating a motor vehicle while under the influence of intoxicating liquor, third offense (OUIL-3), a felony punishable by up to 5 years’ imprisonment, and of being a second-offense habitual off*324ender.
¶27This Court reversed in part, concluding that while the HOA establishes a procedure for enhancing a sentence, it is clear that the OUIL provisions of the Michigan Vehicle Code established separate crimes.
¶28The statutory scheme in SORA, MCL 28.729(1), is similar to that currently establishing the OWI offenses (previously known as OUIL) in the Michigan Vehicle Code, MCL 257.625(9)(a) to (c). Both schemes establish three separate crimes, stating in the prefatory language that a violation will be punished as stated in the subparts and then creating a first offense, second offense, and third or subsequent offense.
¶29Just as Bewersdorf held that “OUIL-3 is a separate *325crime” from other OUIL offenses, the same is true of SORA.
¶30*326Pursuant to the statutory analysis discussed earlier in this opinion, we conclude that the Legislature intended in enacting SORA-2 and SORA-3 to elevate each offense, not merely the punishment. Thus, Michigan caselaw also supports our conclusion that a trial court can sentence defendant under SORA-2 as a second-offense habitual offender using his SORA-1 conviction.
¶31IV. CONCLUSION
¶32We conclude that MCL 28.729(1) sets forth a recidivism statutory scheme that creates three separate felonies that elevate on the basis of repeat offenses. We further conclude that a SORA-2 sentence for recidivist behavior may be elevated under the second-offense *327habitual-offender statute, MCL 769.10(l)(a). Accordingly, the trial court appropriately exercised its discretion when it sentenced defendant to a 10.5-year maximum term of imprisonment. The Court of Appeals erred when it vacated defendant’s sentence and wrongly concluded that MCL 769.10 and MCL 28.729 conflict and that, as a result, defendant could only be sentenced to the 7-year maximum set forth in MCL 28.729(l)(b).
¶33We reverse the judgment of the Court of Appeals, remand the case to the Ionia Circuit Court, and direct that court to reinstate defendant’s original judgment of sentence of 2 to 10.5 years as a second-offense habitual offender for a second offense of failing to comply with the SORA reporting requirements, MCL 28.729(l)(b). Pursuant to MCR 7.315(C)(3), the Clerk of the Court is directed to issue the judgment order forthwith.
¶34 MCL 28.721 et seq.
¶35 See note 33 of this opinion.
¶36 MCL 769.10, MCL 769.11, MCL 769.12, and MCL 769.13. Specifically, defendant was charged under the second-offense habitual-offender statute, MCL 769.10(l)(a), which provides in relevant part that upon conviction of a second felony, the court may sentence the defendant to a term of imprisonment that is “IV2 times the longest term prescribed for a first conviction of that offense or for a lesser term.”
¶37 MCL 28.729(l)(c) covers violating SOPA a third or subsequent time (SORA-3).
¶38 Defendant was found living with his spouse even though he was precluded from having any contact with her under the terms of his probation.
¶39 See note 3 of this opinion.
¶40People v Allen, 310 Mich App 328; 872 NW2d 21 (2015).
¶43Id. at 350-351.
¶45Id. at 350-351.
¶47People v Allen, 498 Mich 910 (2015).
¶48People v Hartwick, 498 Mich 192, 209; 870 NW2d 37 (2015); Hannay v Dep’t of Transp, 497 Mich 45, 57; 860 NW2d 67 (2014).
¶49People v Watkins, 491 Mich 450, 467; 818 NW2d 296 (2012).
¶50Badeen v PAR, Inc, 496 Mich 76, 81; 853 NW2d 303 (2014).
¶51In re AJR, 496 Mich 346, 353; 852 NW2d 760 (2014). See also People v Likine, 492 Mich 367, 387; 823 NW2d 50 (2012).
¶52People v Gardner, 482 Mich 41, 50; 753 NW2d 78 (2008).
¶53Koenig v South Haven, 460 Mich 667, 677; 597 NW2d 99 (1999).
¶55People v Cunningham, 496 Mich 145, 156 n 8; 852 NW2d 118 (2014).
¶56Id.(“[T]he Penal Code and the Code of Criminal Procedure ‘relate generally to the same thing and must therefore be read in pari materia . . . .’ ”), quoting People v Smith, 423 Mich 427, 442; 378 NW2d 384 (1985).
¶57 See 1927 PA 175.
¶58People v Shotwell, 352 Mich 42, 46; 88 NW2d 313 (1958).
¶59 MCL 769.10(3), MCL 769.11(3), and MCL 769.12(3), all as amended by 1998 PA 317.
¶60 See Gordon Sel-Way, Inc v Spence Bros, Inc, 438 Mich 488, 506; 475 NW2d 704 (1991) (“[T]he Legislature is presumed to act with knowledge of statutory interpretations by the Court of Appeals and this Court.”).
¶61 E.g., People v VanderMel, 156 Mich App 231, 232; 401 NW2d 285 (1986). The defendant in that case pleaded guilty of second-degree criminal sexual conduct, MCL 750.520e(1)(b), and having committed a *317second criminal sexual conduct offense, MCL 750.520f, and was sentenced as a second-offense habitual offender under MCL 769.10. The Court of Appeals held that both the recidivism criminal sexual conduct statute, MCL 750.520f, and the habitual-offender statute, MCL 769.10, could be concurrently applied. Id. at 235-237. In so holding, the Court of Appeals stated, “Because the Legislature has not prohibited concurrent application of MCL 750.520f and the habitual offender statutes, we decline to do so . . ..” Id. at 236-237 (citation omitted).
¶62People v Bewersdorf, 438 Mich 55, 72; 475 NW2d 231 (1991).
¶63 MCL 769.10(1)(c), as amended by 1978 PA 77. See also MCL 769.11(1)(c) and MCL 769.12(l)(c), both as amended by 1978 PA 77. The reference was to the former Controlled Substances Act. Subsequently, 1988 PA 90 revised the reference to Chapter 74 of the Public Health Code, MCL 333.7401 et seq.
¶64 For example, in 1998 PA 311, the Legislature revised the first-degree retail fraud statute, MCL 750.356c, to state:
If the sentence for a conviction under this section is enhanced by 1 or more prior convictions, those prior convictions shall not be used to further enhance the sentence for the conviction pursuant *318to section 10, 11, or 12 of chapter DC of the code of criminal procedure, 1927 PA 175, MCL 769.10, 769.11, and 769.12. [MCL 750.356c(6).]
¶65Similar prohibitions against application of the habitual-offender sentence enhancements can be found in MCL 750.79(4) (intent to commit arson); MCL 750.131(5) (checks drawn on insufficient funds); MCL 750.157s(4) (use of revoked or canceled financial transaction devices with intent to defraud); MCL 750.157w(4) (use of financial transaction device in excess of funds with intent to defraud); MCL 750.174(11) (embezzlement); MCL 750.218(10) (false pretenses); MCL 750.356(9) (larceny); MCL 750.362a(8) (refusal/neglect to return rented vehicle); MCL 750.377a(4) (malicious destruction of personalty); MCL 750.535(11) (receiving or concealing stolen property); and MCL 750.540g(4) (unauthorized use of telecommunications services). “Courts cannot assume that the Legislature inadvertently omitted from one statute the language that it placed in another statute, and then, on the basis of that assumption, apply what is not there.” Farrington v Total Petroleum, Inc, 442 Mich 201, 210; 501 NW2d 76 (1993).
¶66 The Legislature has amended SORA several times since its enactment and has elected to not preclude application of the habitual-offender provisions to a SORA-2 or SORA-3 conviction.
¶67 MCL 28.729(1) currently provides:
[A]n individual required to be registered under this act who willfully violates this act is guilty of a felony punishable as follows:
(a) If the individual has no prior convictions for a violation of this act, by imprisonment for not more than 4 years or a fine of not more than $2,000.00, or both.
(b) If the individual has 1 prior conviction for a violation of this act, by imprisonment for not more than 7 years or a fine of not more than $5,000.00, or both.
*320(c) If the individual has 2 or more prior convictions for violations of this act, by imprisonment for not more than 10 years or a fine of not more than $10,000.00, or both.
¶68 MCL 28.729(1), as enacted by 1994 PA 295, provided:
An individual required to be registered under this act who willfully violates this act is guilty of a felony punishable by imprisonment for not more than 4 years or a fine of not more than $2,000.00, or both.
¶691999 PA 85, effective September 1, 1999.
¶701999 PA 90, effective September 1, 1999.
¶71 All offenses to which the guidelines apply are classified in a manner that generally corresponds to the seriousness of the offense. This gradation of seriousness is indicated by the offense’s class, which is designated by the letters “M2” (second-degree murder) and “A” through “H,” in order of decreasing seriousness. For example, when scoring Prior Record Variable (PRV) 1, MCL 777.51, a “high severity felony conviction” is defined in part as a conviction for a “crime listed in class M2, A, *321B, C, or D”; when scoring PEV 2, MCL 777.52, a “low severity felony conviction” is defined in part as a conviction for a “crime listed in class E, F, G, or H[.]”
¶72 At that time, MCL 28.729 was listed in MCL 777.11. Subsequently, 2002 PA 31 added several new sections to the guidelines, and MCL 28.729 became listed in MCL 777.11b.
¶73 MCL 777.5(d); MCL 777.11b. All offenses to which the sentencing guidelines apply belong to one of six offense categories: crimes against a person, crimes against property, crimes involving a controlled substance, crimes against public order, crimes against public trust, and crimes against public safety. MCL 777.5(a) to (f).
¶74 MCL 777.11b.
¶75Id.
¶76Id.
¶77 MCL 769.10(l)(a) (emphasis added).
¶78 Emphasis added.
¶79 We do not quibble with the notion that the Legislature clearly set the maximum penalty for two convictions of violating SORA at 7 years. Implicit in defendant’s argument and the Court of Appeals’ opinion is the notion that, having set that penalty, the Legislature could not have intended to also allow a sentencing court to impose a 10.5 year maximum sentence. But as outlined in this opinion, it is clear that this is exactly what the Legiature intended. The Legislature was fully aware that sentence enhancement under the HOA is not mandatory, as vast discretion with regard to sentence enhancement is placed in the sentencing court and the prosecution. A sentencing court can exercise the option to not enhance a defendant’s sentence. See MCL 769.10(l)(a) (“[T]he court.... may place the person on probation or sentence the person to imprisonment for a maximum term that is not more than IV2 times [the applicable term].”) (emphasis added); People v Turski, 436 Mich 878 (1990). In order to seek sentence enhancement under the HOA, the prosecuting attorney must file a written notice of intent to do so. MCL 769.13. The prosecutor thus has discretion not to seek habitual-offender sentence enhancement. It is clear that the Legislature wanted to ensure that an offender violating SORA a second time would be subject to a maximum sentence of not less than 7 years, while vesting in the sentencing court and the prosecution discretion that could result in a maximum sentence of up to 10.5 years.
¶80Bewersdorf, 438 Mich at 60. At the time, OUIL-3 was prohibited by MCL 257.625(6), as amended by 1987 PA 109, and punishable under MCL 257.902 as a 5-year felony. The offense is now operating a motor vehicle while intoxicated (OWI) and is a 5-year felony prohibited by MCL 257.625(9)(c).
¶81People v Bewersdorf, 181 Mich App 430, 433; 450 NW2d 271 (1989), aff'd in part and rev’d in part 438 Mich 55 (1991).
¶82Bewersdorf, 438 Mich at 68.
¶84Id. at 68. The OUIL provisions at issue in Bewersdorf differ from the SORA. provisions in that the underlying offenses in Bewersdorf were misdemeanors and SORA-1, SORA-2, and SORA-3 are all felonies. Defendant complains that his sentence is inappropriate because his SORA-1 conviction was used to support his SORA-2 conviction and as the predicate to enhance his sentence as a second-offense habitual offender. While defendant objects to this, he offers no statutory or legal analysis to support the contention that his claimed double enhancement is inappropriate. The critical point from Bewersdorf is that the OUIL provisions increased the punishment for each repeated offense, just as the SORA provisions do in the present case. In fact, defendant concedes that there is no error in enhancing a SORA-2 sentence under the habitual-offender provisions as long as the habitual-offender enhancement is based on a felony other than a SORA violation. Thus, to this extent, defendant agrees with our conclusion that MCL 28.729(1) sets forth separate, elevated offenses.
¶85 E.g., People v Eilola, 179 Mich App 315, 325; 445 NW2d 490 (1989) (holding that the habitual-offender provisions could be used to enhance a sentence for a conviction that constituted first-degree retail fraud because of a prior conviction, MCL 750.356c(2), as added by 1988 PA 20); People v Brown, 186 Mich App 350, 357; 463 NW2d 491 (1990) (reaffirming Eilola and extending it by holding that the sentence could be enhanced using the same conviction used to elevate the offense (answering a question left open in Eilola)); People v James, 191 Mich App 480, 481-482; 479 NW2d 16 (1991) (holding that the habitual-offender statutes and the statute imposing a mandatory minimum 5-year sentence for a second offense of criminal sexual conduct may be concur*326rently applied); People v Lynch, 199 Mich App 422, 423-424; 502 NW2d 345 (1993) (relying on Eilola and Bewersdorf and citing Broum to hold that the habitual-offender provision could enhance a sentence for a recidivist conviction of fleeing and eluding). See also People v Fetterley, 229 Mich App 511, 540-541; 583 NW2d 199 (1998) (“[W]here a defendant commits a controlled substances offense, but is not subject to the enhancement provisions of the Public Health Code because, although the defendant is an habitual offender, there are no prior controlled substance offenses, enhancement under the habitual offender provisions is permitted. Where the legislative scheme pertaining to the underlying offenses elevates the offense, rather than enhances the punishment, on the basis of prior convictions, both the elevation of the offense and the enhancement of the penalty under the habitual offender provisions is [sic] permitted.”) (citations omitted). But cf. People v Honeycutt, 163 Mich App 757, 760-763; 415 NW2d 12 (1987), in which the Court concluded that when a defendant has been convicted of felony-firearm (and the requisite underlying felony) and also found to be an habitual offender, the trial court must impose the mandatory two-year sentence for the felony-firearm conviction without enhancement by the HOA and then impose a sentence on the underlying felony with enhancement by the HOA, with the second sentence running consecutively to the felony-firearm sentence. While the felony-firearm statute creates a crime separate and distinct from the underlying felony, the felony-firearm statute mandates the imposition of a mandatory, determinate sentence, which would necessarily conflict with a trial court’s discretion to impose an indeterminate sentence under the HOA. Id. at 760.