*787**100The State appeals from the trial court's judgment of conviction and sentence imposed on Tina Marie Hanna after her plea of guilty to felony murder and related crimes, contending that the sentence is illegal and void because the trial court improperly sentenced Hanna on the basis of the "rule of lenity." The rule of lenity, however, is not implicated in this case, because the trial court erred in sentencing Hanna for an offense which was not charged and to which she did not plead guilty. We therefore vacate the trial court's judgment and remand the case to the trial court for further proceedings consistent with this opinion.
At the plea hearing on April 24, 2018, the prosecutor stated the factual basis for the plea, and defense counsel made a statement on the record in response.
Hanna was charged with two counts of felony murder, OCGA § 16-5-1, and two counts of cruelty to children in the first degree, OCGA § 16-5-70. The felony-murder counts were predicated on first-degree cruelty to children by depriving the child of necessary sustenance to the extent that his health and well-being were jeopardized and by failing to seek necessary and adequate medical attention for the child. Hanna entered a non-negotiated plea of guilty to all four counts, but at the pretrial motions hearing and the plea hearing, defense counsel argued that the rule of lenity required that Hanna be sentenced as for contributing to the deprivation of a minor leading to death, pursuant to former OCGA § 16-12-1 (b) (3) and (d.1) (1) (2011), instead of for felony murder.
The trial court chose to sentence Hanna on the first count of felony murder, based upon her causing the child's death by depriving him of necessary sustenance to the extent that his health and well-being were jeopardized. The court further stated that it would apply the rule of lenity to that conviction and sentence Hanna as for contributing to the deprivation of a minor leading to death. The court sentenced Hanna to ten years in prison for felony murder, with the first four years to be served in confinement and the balance on probation.
Your Honor, I think I need to put on the record that the State has not [a]greed to any reduction from felony murder. The State does not agree to 16-12-1, that is not on the indictment, and sentencing someone *788without the approval of the district attorney or the district attorney's office, the state disagrees that the court is able to do that, to sentence on a count that is not even in the indictment, to a sentence not authorized under the law.
**102The trial court also entered an "Order to Be Attached to Sentence" that stated in part:
FURTHERMORE, it is the standard practice in this Court that all Defendants are allowed, for any reason, to withdraw their plea after sentence is handed down by the Court. If this Court's sentence ... is not upheld by any higher court, this Court authorizes the Defendant to withdraw her plea and proceed to trial.
1. As a preliminary matter, we address the question of our jurisdiction. Under OCGA § 5-7-1 (a) (6), the State may appeal in a criminal case "[f]rom an order, decision, or judgment of a court where the court does not have jurisdiction or the order is otherwise void under the Constitution or laws of this state." As discussed below, the sentence imposed here was void, and "[a]s such, the State's appeal is authorized by OCGA § 5-7-1 (a) (6) and this Court has jurisdiction to review the case on the merits." (Footnote omitted.) State v. Owens,
2. In its first enumeration of error, the State contends that the trial court erred in applying the rule of lenity in sentencing Hanna as for deprivation of a minor child leading to death, instead of an appropriate sentence for felony murder.
The Supreme Court of the United States has referred to the rule of lenity as a sort of junior version of the vagueness doctrine, which requires fair warning as to what conduct is proscribed. The rule of lenity applies when a statute, or statutes, establishes, or establish, different punishments for the same offense, and provides that the ambiguity is resolved in favor of the defendant, who will then receive the lesser punishment. However, the rule does not apply when the statutory provisions are unambiguous. The rule of lenity is a rule of construction that is applied only when an ambiguity still exists after having applied the traditional canons of statutory construction.
(Citations and punctuation omitted.) Banta v. State,
But we need not apply the rule of lenity because the sentence imposed here was erroneous for a more fundamental reason. Hanna pled guilty to and was convicted of felony murder, but she was sentenced as for a crime of which she was not convicted. The judgment **103therefore imposes an illegal and void sentence, and it must be vacated and the case returned to the trial court.
[A] sentence is void if the court imposes punishment that the law does not allow. Whether a sentence amounts to "punishment that the law does not allow" depends not upon the existence or validity of the factual or adjudicative predicates for the sentence, but whether the sentence imposed is one that legally follows from a finding of such factual or adjudicative predicates.
(Citations and punctuation omitted.) von Thomas v. State,
Here, Hanna pled guilty to and was convicted of felony murder, for which death and imprisonment for life, with or without the possibility of parole, are the only sentences prescribed by law. See OCGA § 16-5-1. The trial court expressly sentenced Hanna on the first felony-murder count, but it applied the penalty prescribed for violation of former OCGA § 16-12-1 (b) (3), with which Hanna was not charged and to which she did not plead guilty. This sentence amounted to "punishment that the law does not allow," is void, and must be vacated. Cf. Bynes v. State,
In its sentencing order, the trial court relied on the rule of lenity to conclude that it could give Hanna a sentence other than that *789required for a felony murder conviction. The rule of lenity, however, cannot be applied in this fashion. Under the rule of lenity, " '[a]mbiguity in a statute defining a crime or imposing a penalty should be resolved in the defendant's favor.' " State v. Hudson,
In some cases, the rule of lenity has been applied to decide what sentence should be imposed because the statute determining the sentence is ambiguous. See, e.g., Gee v. State,
In other cases, the rule of lenity has been applied when the court concludes that one offense has been criminalized by two different statutory provisions, one of which provides a lesser punishment than the other. In that situation, the statutory provision imposing the greater punishment is effectively abrogated by the provision imposing the lesser punishment, and the defendant cannot be properly prosecuted or convicted under the more stringent provision. See Gee, supra,
Hanna's rule of lenity argument follows the latter course. She argues that the offense of felony murder based on depriving a child of necessary sustenance, see OCGA § 16-5-1, and the offense of contributing to the deprivation of a minor leading to death, see former **105OCGA § 16-12-1 (b) (3) and (d.1), criminalize the same conduct. She contends that she therefore can only be convicted of and sentenced for contributing to the deprivation of a minor, because it carries a lesser penalty. If those two statutes in fact cover the same offense so that an ambiguity is created as to which one should apply, then Hanna would be partly right: she could not properly be convicted of and sentenced for felony murder. But the method that Hanna proposed, and the trial court adopted, to address her rule of lenity argument was incorrect. *790Although the rule of lenity may require a court to reverse a conviction based upon the violation of a statutory provision that has been effectively abrogated by a duplicative provision imposing a lesser penalty, the rule does not allow the court to impose a sentence for an offense different than the one unambiguously provided for in the statute to which the defendant pled or was found guilty.
In this case, Hanna could have filed a general demurrer to the charge of felony murder based upon depriving a minor of necessary sustenance, on the ground that the felony murder statute cannot be applied to her offense because of the more lenient deprivation statute and rule of lenity. See, e.g., Banta,
**1063. In its second enumeration of error, the State objects to what it describes as "[t]he trial court's standard practice of permitting defendants to withdraw their guilty plea, for any reason, after sentence is handed down," as reflected in the trial court's Order to Be Attached to Sentence. However, in the procedural posture of this case's return to the trial court, no legal or valid sentence will have been entered with respect to Hanna's guilty plea to felony murder based upon the deprivation of sustenance. And OCGA § 17-7-93 (b) provides, "At any time before judgment is pronounced, the accused person may withdraw the plea of 'guilty' and plead 'not guilty.' "
The Court of Appeals, in the whole court decision of Kaiser v. State,
Judgment vacated in part and case remanded.
All the Justices concur.
In satisfying itself that a factual basis for a guilty plea exists under Uniform Superior Court Rule 33.9, a trial court may "discern the factual basis in a wide variety of ways, and we see no reason to restrict a trial court to any one method of subjectively satisfying itself of a factual basis," such as "through the trial court questioning the defendant or through the prosecutor stating what he expected the evidence to show at trial." State v. Evans,
The court also sentenced Hanna to a concurrent term of five years in prison for one child-cruelty charge, with the first four years to be served in confinement and the remaining year on probation. The other felony-murder count was vacated by operation of law, and the other child-cruelty plea merged into the first felony-murder count.
This Court has sometimes reached the same conclusion based on other canons of statutory interpretation. See, e.g., Williams v. State,
Although this Court may have indicated that the trial court (or even this court) has that power, that language was imprecise, and in fact the result of the case was the reversal of the conviction for the inapplicable crime, with no remand for the trial court to enter a conviction and sentence on the more lenient crime that was not charged. See Brown v. State,
Similarly, in McNair v. State,
In Humphrey, this Court observed:
As noted in Kaise r, there are two competing lines of authority regarding this issue, see id. at 65-68,646 S.E.2d 84 , and, while the Court of Appeals in its whole-court decision in Kaise r adopted the approach allowing the withdrawal of a plea following the vacating of the sentence thereon, this Court has apparently not squarely addressed the issue, apart from referring favorably to Kaiser in its dicta in Pierce. See Pierce,294 Ga. at 843-844 ,755 S.E.2d 732 .
299 Ga. at 199 (1) n.2,
