OPINION
On October 25, 1995, the trial court granted Robert Anderson’s (“Anderson”) petition for post-conviction relief and set aside his 1991 conviction of attempted murder due to instructional error. Anderson was retried in January 1996 and a jury found him guilty of aggravated battery, a class B felony, as a lesser included offense of attempted murder. Anderson appeals. We reverse and remand with instructions.
FACTS AND PROCEDURAL HISTORY
On June 20, 1990, Anderson was charged with attempted murder and after a three day trial in May 1991, a jury found him guilty. He was sentenced to a thirty (30) year term in June 1991. We affirmed Anderson’s conviction and sentence in a memorandum decision.
Anderson v. State,
The evidence favorable to the verdict disclosed that the victim was the father of Anderson’s girlfriend. On the day in question the victim attempted to deliver his two year old grandson to his daughter at Anderson’s home, where she had been living. When he took the child to the door Anderson told him that his daughter was staying with a neighbor. The victim then went to the house where his daughter was staying. She told him that she was staying there because Anderson had beaten *186 her and held a gun to her head on the previous night.
The victim promptly returned to Anderson’s home, parked his truck at the curb and blew the horn. Anderson put a pistol in his pocket and went outside. The victim left his truck and told Anderson that he should stop fighting with the daughter. When Anderson responded that it was none of the victim’s business, the victim accused Anderson of also beating thе child, but stated that he had no time to argue with Anderson because he had to get to work. The victim then turned away and returned to his truck.
When the victim reached the door of the truck Anderson said, “I’ll kill you now.” As the victim turned around Anderson fired his pistol. The bullet struck the victim in the shoulder. The victim fell against the truck and exclaimed, “You shot me!” Anderson then repeated that he would kill the victim and shot him again. The bullet wounds were to the area of the victim’s left shoulder above his heart. One wound was below the clavicle and two were located in the armpit.
On September 16, 1993, Anderson filed a petition for post-conviction relief which was subsequently amended. The trial court granted his petition on October 25, 1995. The case was retried in January 1996 and a jury found Anderson guilty of aggravated battery, 1 a class B felony, as a lesser included offense of attempted murder. 2
ISSUE
Anderson appeals solely on the issue of whether his conviction for aggravated battery, a class B felony at Ind.Code § 35-42-2-1.5, which was added to the Indiana code after the commission of the оffense, was fundamental error.
DISCUSSION AND DECISION
Anderson argues that his conviction of aggravated battery violated the constitutional proscriptions against ex post facto laws. Article I, § 24 of the Indiana Constitution provides that “No ex post facto law ... shall ever be passed” and article I, § 10, clause 1 of the United States Constitution provides that “No state shall ... pass any ... ex post facto law ...” In
Taylor v. State Election Board,
An ex post facto law is a legislative act relating to criminal matters, retroactive in its operation, 1) which alters the situation of an accused to his disadvantage or deprives him of some lawful protection to which he is entitled, as a law which imposes a punishment for an act which was not punishable when it was committed; 2) which makes a crime greater than when it was committed or imposes additional punishment therefor; or 3) which changes the rules of evidence by which less or different testimony is sufficient to convict.
Id. at 383.
At the time of this offense, battery was defined at Ind.Code § 35-42-2-1 which provided for the enhancement of the class B misdemeanor battery to an A misdemeanor, D felony or C felony based on additional required elements. Ind.Code § 35-42-2-1 provided, in part:
A person who knowingly or intentionally touches another person in a rude, insolent, or angry manner commits battery, a class B misdemeanor. However, the offense is:
(3) a Class C felony if it results in serious bodily injury to any other person or if it is committed by means of a deadly weapon. 3
Ind.Code § 35-42-2-1 did not provide for enhancement of battery to a class B felony. The offense of aggravated battery, a class B felony as defined by Ind.Code § 35-42-2-1.5, did not exist when the instant offense was committed and was added by P.L.213 in 1991 and provides:
*187 A person who knowingly or intentionally inflicts injury on a person that creates a substantial risk of death or causes serious permanent disfigurement or protracted loss or impairment of the function of a bodily member or organ commits aggravated battery, a Class B felony.
Ind.Code § 35-42-2-1.5.
The statute in existence when the instant offense was сommitted did not provide for the offense of battery to be elevated to a class B felony. By allowing the conviction for aggravated battery, the trial court retroactively applied the statute. The statute providing for aggravated battery made the crime greater because prior to its passage battery could be enhanced to no greater than a class C felony. We do not agree with the state’s position that because the jury did not convict Anderson of attempted murder, a class A felony, that he necessarily gained an advantage by being convicted of aggravated battery as a class B felony. Under the laws applicable at the time оf this offense, if the jury failed to convict Anderson of attempted murder, he would have been facing the lesser included offense of battery with a potential enhancement to a class C felony. Anderson’s conviction of aggravated battery as a class B felony made Anderson’s crime greater than when it was committed and imposed additional punishment. This falls into the second category of ex post facto laws as provided in
Taylor,
The state argues that Anderson invited the error by seeking the instruction on aggravated battery as an included offense. It contends his conviction therefore does not constitute fundamental error. The state cites
Kemp v. State,
Our holding in
Vandeventer v. State,
The parties agree that the invited error doctrine exists in Indiana. They agree that as a general proposition Indiana cases hold a defendant may not profit from obtaining an erroneous instruction by therеafter claiming error. Stamper v. State, *188 (1973)260 Ind. 211 ,294 N.E.2d 609 ; Moore v. State, (1983) Ind.App.,445 N.E.2d 576 . [The defendant] even concedes the rule has been applied to the giving of a tendered included offense instruction which erroneously states that an offense is an included offense when it is not. [Citations omitted].
However, [the defendant] distinguishes those eases from cases such as this, where the so-called included оffense is nonexistent. He correctly observes that in all the eases cited by the State the included offense was actually a statutorily recognized offense. He argues the invited error doctrine may not apply to convict a person of a non-existent crime. We agree.
Id.
at 1222 (emphasis added). In
Moon v. State,
If kidnapping is not encompassed within the armed felony statute, Ind.Code § 35-12-1-1, then no such offense as “armed kidnapping” exists. That being so, a conviction for “armed kidnapping” is a nullity. Conviction of a nonexistent crime is fundamental error, [citation omitted], which error, if apparent on the face of the record, сannot be ignored by the reviewing court. [Citations omitted].
Id. at 1168 (emphasis added).
Based on the foregoing, we hold that Anderson’s conviction of aggravated battery, a class B felony at Ind.Code § 35-42-2-1.5, an offense which was nonexistent at the time of commission, constituted fundamental error and must be vacated.
This holding brings us unavoidably to the issue of whether Anderson can be retried fоr the offense of attempted murder. Anderson contends that a retrial on the offense of attempted murder would violate the constitutional proscriptions against double jeopardy. We agree.
In
Bennett v. State,
The law is clear that where a defendant is tried and convicted of a lesser and included offense of the crime charged and a new trial is obtained, the defendant may be retried only upon the offense for which he was originally convicted. [Citations omitted]. This rule rests upon the proposition that a defendant convicted of a lesser and included offense has been impliedly acquitted of the greater offense. See, e.g., Green v. United States (1957)355 U.S. 184 ,78 S.Ct. 221 ,2 L.Ed.2d 199 . But whether an acquittal is express or implied, so long as the trier of fact is given a full opportunity to convict upon the greater charge, conviction of a lesser and included offense precludes further or later prosecution upon the greater offense.
Id. at 951 (emphasis added).
Therefore, the double jeopardy provision of the Fifth Amendment precludes Andersоn from being retried for the offense of attempted murder. 5 Although the jury did not expressly acquit Anderson of attempted murder, the jury’s conviction of what was thought to be a lesser included offense implies an acquittal and precludes further prosecution for attempted murder. Based on our earlier holding in this case, Anderson also cannot be rеtried on the offense of aggravated battery. We do not, however, interpret the language in Bennett to preclude retrial or conviction of Anderson on the offense of battery with a deadly weapon or battery resulting in serious bodily injury.
Anderson requests that this court order his conviction and sentence for aggravated battery vacated аnd further that we remand his case for trial on the offense of battery with a deadly weapon. Although we must vacate Anderson’s conviction for aggravated *189 battery and agree with his contention that he cannot be retried on the offense of attempted murder, it is unnecessary to remand for a new trial.
Anderson claims that since battery with a dеadly weapon is not a lesser included offense of aggravated battery, his conviction cannot be modified to battery with a deadly weapon, a class C felony. He cites
Corn v. State,
The critical flaw in Anderson’s argument is that he bases his lesser offense analysis upon the crime with which he was ultimately convicted, rather than upon the offense for which he was tried. It is that offense which determines the propriety of lesser included offenses.
Here, unlike Correll and Corn, the charging information alleged the elements necessary for battery -with a deadly weapon. Given the jury’s finding that Anderson committed the offense of aggravated battery, there is no question that had the trial court refused Anderson’s request to offer the lesser included offense of aggravated battery, as it properly should have, the jury would have found Anderson guilty of the offense of battery with a deadly weapon, a class C felony. The jury was instructed on the offense of battery with a deadly weapоn as a lesser included offense of attempted murder but opted to find Anderson guilty of the more serious charge of aggravated battery, a class B felony. In the case at bar, it is clear that battery with a deadly weapon was a lesser included offense of attempted murder and the charging information alleges the necessary element that the battery was committed by means of a deadly weapon, to-wit a handgun. In essence, by finding Anderson guilty of aggravated battery, the jury found beyond a reasonable doubt that all the elements of battery with a deadly weapon existed except for the commission by means of a deadly weapon. 6 Although Anderson notes that the charge of aggravated battery lacks the element of a deadly weapon, it is beyond dispute that Anderson used a handgun. He admitted buying the handgun, knowing the handgun was loaded, taking the handgun out of his pocket and his own testimony is replete with evidence that he fired his gun in the direction of the victim resulting in the victim’s injuries. Given the overwhelming, undisputed evidence of the use of a deadly weapon to injure the victim, including Anderson’s own testimony, and the jury’s conviction of aggravated battery, albeit erroneous, we do not agree *190 with Anderson’s contention that reversal of his aggravated battery conviction necessitates a retrial on the offense of battery with a deadly weapon.
Accordingly, we vacate the judgment and sentence as to the offense of aggravated battery and remand this case with instructions to enter judgment and sentence on the offense of battery with a deadly weapon, a class C felony, a lesser included offense of attempted murder.
Reversed and remanded.
Notes
. Ind.Code§ 35-42-2-1.5.
. Ind.Code § 35-42-1-1 and Ind.Code § 35-41-5-1.
. The portion of the statute providing for the enhancement of battery tо a class C felony has gone unchanged. See Ind.Code Ann. § 35-42-2-1 (West 1986)(Supp.l996).
. Ind.Code § 35-42-1-3 and Ind.Code § 35-41-5-1.
. Additionally, Ind.Code § 35-41-4-3(a) provides in part:
A prosecution is barred if there was a former prosecution of the defendant based on the same facts and for commission of the same offense if:
(1) the former prosecution resulted in an acquittal or a conviction of the defendant (A conviction of an inсluded offense constitutes an acquittal of the greater offense, even if the conviction is subsequently set aside.); ...
Id. (emphasis added).
. Aggravated batteiy at Ind.Code 35-42-2-1.5 provides:
A person who knowingly or intentionally inflicts injury on a person that creates a substantial risk of death or causes serious permanent disfigurement or protracted loss or impairment of the function of a bodily member or organ commits aggravated battery, a Class B felony.
Battery, as defined at the time of the commission of the offense, provides that:
A person who knowingly or intentionally touches another person in a rule, insolent, or angry manner commits battery, a Class B misdemeanor. However, the offense is:
(3) a Class C felony if it results in serious bodily injury to any other person or if it is committed by means of a deadly weapon.
Ind.Code § 35-42-2-1(3).
