Following a jury trial, the defendant, Sidney Henderson, was convicted of being a felon in possession of a firearm. See RSA 159:3 (2002). On appeal, he contends that the Trial Court (Mohl, J.) erred in sentencing him under the minimum mandatory sentencing provision of RSA 651:2, II-g (Supp. 2005). We vacate his sentence and remand to the trial court for resentencing.
The defendant was charged with three counts of simple assault, see RSA 631:2-a (1996), and one count of felon in possession of a firearm, see RSA 159:3. Following a jury trial, he was acquitted of the assault charges and *96convicted of the felon in possession of a firearm charge. At sentencing, the trial court imposed the minimum mandatory sentence established in RSA 651:2, II-g for felony convictions involving “the possession, use or attempted use of a deadly weapon.” RSA 651:2, II-g.
On appeal, the defendant first argues that because the charging documents and jury instructions authorized the jury to convict him if it found he had a weapon either in his possession or under his control, he could not be sentenced under RSA 651:2, II-g because possession must be established as an element to permit application of RSA 651:2, II-g. He urges us to consider this argument under our plain error rule. See SUP. Ct. R. 16-A. Under our rule, we consider the following elements: (1) there must be error; (2) the error must be plain; (3) the error must affect substantial rights; and (4) the error must seriously affect the fairness, integrity or public reputation of judicial proceedings. State v. Maelnnes, 151 N.H. 732, 737 (2005). The State argues that because “there is no settled law that would take this defendant out of the reach of the mandatory minimum sentence imposed by RSA 651:2, II-g under the particular facts of this case,” there was no plain error. We disagree.
We review the trial court’s interpretation of a statute de novo. Petition of State of N.H. (State v. Cam/pbell), 152 N.H. 515,520 (2005). We construe provisions of the Criminal Code according to the fair import of their terms and to promote justice. Petition of State of N.H., 152 N.H. 185,187 (2005). To do so, we look first to the language of the statute to determine legislative intent. Id. When asked to interpret two statutes that deal with similar subject matter, we construe them so that they do not contradict each other and so that they lead to a reasonable result and effectuate the legislative purpose of the statute. State v. Taylor, 152 N.H. 719, 720 (2005).
RSA 159:3 provides that a person is guilty of a class B felony if he “[o]wns or has in his possession or under his control, a pistol, revolver or other firearm” and has been convicted of certain classes of felonies. RSA 159:3, I. RSA 159:3 therefore authorizes conviction for “ownership,” “possession” or “control.”
RSA 651:2, II-g provides:
If a person is convicted of a felony, an element of which is the possession, use or attempted use of a deadly weapon, and the deadly weapon is a firearm, such person may be sentenced to a maximum sentence of 20 years’ imprisonment in lieu of any other sentence prescribed for the crime. The person shall be given a minimum mandatory sentence of not less than 3 years’ imprisonment for the first offense and a minimum mandatory sentence of not less than 6 years’ imprisonment if such person *97has been previously convicted of any state or federal offense for which the maximum penalty provided was imprisonment in excess of one year, and an element of which was the possession, use or attempted use of a firearm. Neither the whole nor any part of the minimum sentence imposed under this paragraph shall be suspended or reduced.
RSA 651:2, II-g imposes a minimum mandatory sentence in certain cases involving the “possession,” “use” or “attempted use” of a deadly weapon.
The defendant argues that because the indictment and jury instruction authorized the jury to convict if it found that he had a firearm in his possession or under his control, his conviction is not subject to the minimum mandatory sentence established under RSA 651:2, II-g, because the element of possession was not established.
We have recently construed RSA 159:3 and held that the terms “under his control” and “in his possession” have independent meanings. Taylor, 152 N.H. at 721. In Taylor, we held that the minimum mandatory sentence established in RSA 651:2, II-g did not apply to a conviction obtained under RSA 159:3, where the indictment alleged only that the defendant had certain firearms under his control. The State contends that the facts in this case are distinguishable from those in Taylor “because it is clear that here, the jury could not have found control without finding actual possession.”
In this case, the defendant was charged with having a firearm in his possession or under his control. The jury was instructed that to obtain a conviction, the State had to prove that the defendant “owned or had in his possession or under his control a firearm.” The State does not appear to contest that the minimum mandatory sentence would apply only if the jury found that the defendant possessed the gun; rather, it urges us to review under a harmless error analysis whether the necessary finding was made. The defendant contends that the jury instruction was too broad and that this error is not subject to harmless error analysis. See State v. Ayer, 150 N.H. 14, 24 (2003) (discussion of distinction between structural defect and trial error). We construe his argument to be that the instruction given was insufficient to permit imposition of the minimum mandatory sentence, not that it was erroneous for the offense charged.
The legislature has vested in the trial court the ability to adapt sentencing to best meet the constitutional objectives of punishment, rehabilitation and deterrence. State v. Timmons, 145 N.H. 149,151 (2000). Under the general sentencing statutes, see RSA ch. 651, the trial court has broad discretion to impose different sentences, suspend sentences or grant probation. Timmons, 145 N.H. at 151. Minimum mandatory sentences, however, restrict the sentencing discretion of the trial judge. See Petition *98of State of N.H., 152 N.H. 185, 191 (2005). Recognizing this constraint, we have previously declined to extend the application of a mandatory sentencing statute where the legislature’s intent was not “unmistakably clear.” Id.
The plain language of RSA 651:2, II-g makes clear that it applies when a defendant has been convicted of a felony, an element of which is the possession, use or attempted use of a firearm. Taylor, 152 N.H. at 721. Absent a specific finding by the jury that an element of the felony for which it convicted the defendant was possession, use or attempted use of a firearm, we hold that RSA 651:2, II-g is not applicable.
In this case, the jury was instructed that it could convict the defendant if it found that he owned or possessed or had under his control a firearm. We cannot know, in light of this jury instruction, whether the offense for which the defendant was actually convicted included the element of possession of a firearm. If the jury found the element of control but did not consider possession, it committed no error; the error would have been in applying the minimum mandatory sentence to a conviction for a felony which may not have included the element of possession, use or attempted use of a firearm. Such an error would not be harmless.
Imposition of the minimum mandatory sentence under RSA 651:2, II-g requires that a defendant’s felony conviction include the element of possession, use or attempted use of a firearm. Thus, imposition of the minimum mandatory sentence when the trial court could not know whether the defendant’s conviction included the necessary element was erroneous.
We further conclude that the four elements of the plain error rule have been met in this case. First, there is error. Second, the error is plainly evident if the language of RSA 651:2, II-g is compared with the language of the indictment and instructions.
For this reason, we disagree with the special concurrence’s position that our decisions in State v. Taylor, 152 N.H. 719 (2005), and State v. Emery, 152 N.H. 783 (2005), were inconsistent. In Taylor, the language of RSA 651:2, II-g plainly did not encompass the language of the indictment. In contrast, the answer to the question presented in Emery, whether an individual could be convicted of stealing from his or her own joint checking account, was not plain or readily discernable from the statute. In reaching our decision today, we do not hold that the plain error rule may be applied whenever interpretation of a statute may be determined without resort to legislative history. Rather, we continue to adhere to the principle that the rule should be used sparingly. Maclnnes, 152 N.H. at 736-37. *99Nevertheless, when the error is obvious, as in Taylor and this case, we will apply it even in the absence of controlling precedent.
Because the sentence was illegal, the third and fourth elements of the rule have also been satisfied. See Taylor, 152 N.H. at 721 (imposition of illegal sentence is serious error routinely corrected on plain error review). We therefore vacate the defendant’s sentence and remand for resentencing.
Given our conclusion, we need not consider the defendant’s remaining argument that RSA 651:2, II-g does not apply to convictions obtained under RSA 159:8.
Sentence vacated; remanded for resentencing.
Duggan, Galway and Hicks, JJ., concurred; Broderick, C.J., concurred specially.