Jerry Wayne Abies, a Texas inmate, appeals the district court’s denial of his petition for writ of habeas corpus. We affirm.
I
A grand jury returned two indictments against Abies for aggravated robbery and burglary of a habitation. One indictment charged two counts of aggravated robbery, both alleging the use or exhibition of a deadly weapon. The first count alleged the use of a handgun, and the second count alleged the use of a knife. The second indictment charged burglary of a habitation in two different counts. The first count alleged that when Abies entered the house he was armed with a deadly weapon — a handgun. The second count of the burglary indictment alleged burglary of a habitation without any reference to a deadly weapon. Abies pleaded guilty to the second counts of both the robbery and burglary indictments, and the state waived the first counts of both indictments.
The state court then held a jury punishment hearing. The jury found Abies guilty of aggravated robbery as charged in the robbery indictment. 1 The court entered judgment on this count and included the jury’s affirmative finding that the defendant used a deadly weapon. The jury also found Abies guilty of burglary of a habitation. The court entered judgment on this count and again included the jury’s affirmative finding that the defendant used a deadly weapon during the commission of the offense.
The Texas Court of Appeals affirmed Abies’ convictions, and Abies did not file a petition for discretionary review with the Texas Court of Criminal Appeals. Abies’ two applications for state writs of habeas corpus challenging his convictions were denied. Abies’ petition for federal habeas corpus relief was also denied. Abies now appeals that denial, alleging, inter alia, that the indictment did not give him adequate notice that the state would seek an affirmative finding of the use of a deadly weapon in the burglary charge. 2
*593 II
Abies contends that he was denied his rights under the Fifth, Sixth, and Fourteenth Amendments because he did not receive adequate notice that the state would seek an affirmative finding that he used a deadly weapon in the commission of the offense of burglary of a habitation. Due process requires that a criminal defendant have notice of the charges against him so he can be prepared to defend himself at trial.
Cole v. Arkansas,
Under Texas law, a deadly weapon finding is not an element of the offense of burglary of a habitation; its only relevance is at sentencing.
3
Davis v. State,
Abies received constitutionally adequate notice of the possibility that the state might seek a deadly weapon finding at his sentencing. He was aware of the state’s evidence against him before he decided to plead guilty. He was present at the bond hearing where the complaining witness described the crimes he committed against her using both a knife and a handgun. He was also aware that the state found knives and a handgun in his ear when he was arrested and that they intended to introduce them into evidence at the sentencing phase of his trial. Through his guilty plea, Abies admitted using a deadly weapon during the robbery which arose out of the same events as the burglary. Moreover, Abies did not object when the trial court instructed the jury on the deadly weapon finding with the burglary count. Most persuasively, the first count of the burglary indictment alleged that he used a deadly weapon. The fact that the state waived this count does not vitiate the notice that the indictment provided that the state might attempt to obtain a deadly weapon finding in the burglary count. 7 We therefore conclude that Abies’ due process claim is without merit.
Ill
For the forgoing reasons, we AFFIRM the district court’s opinion.
Notes
. The trial court instructed the jury at the beginning of the punishment trial, "Ladies and gentlemen, since the Defendant has entered his plea of guilty to the second count of each of these two indictments, ... you must find [him] guilty of burglary or [sic] a habitation and of aggravated robbery.’'
. Abies argues several other points of error, none of which have merit. First he argues that his guilty plea was involuntary and unknowing because the trial judge failed to advise him that if he was convicted as a repeat offender by the jury, his minimum punishment would be fifteen years. " ‘The consequences of a guilty plea, with respect
*593
to sentencing, mean only that the defendant must know the maximum prison term and fine for the offense charged.’ "
United States v. Rivera,
Abies next contends that prosecutorial misconduct rendered his sentencing trial fundamentally unfair, alleging that the prosecutor made improper and prejudicial jury arguments. In habe-as corpus proceedings, we review allegedly improper prosecutorial statements made during a state trial to determine whether they “so infected the trial with unfairness as to make the resulting conviction a denial of due process.”
Donnelly v. DeChristoforo, 416
U.S. 637, 643,
Abies argues that he was denied effective assistance of counsel at trial and on appeal. Both claims must meet the deficiency and prejudice prongs of
Strickland v. Washington,
Finally, Abies’ claim that the trial judge did not have the authority to cumulate his sentences fails because it concerns state criminal procedure and "does not involve such a denial of fundamental fairness as to fall within the purview of federal habeas corpus.”
Johnson v. Beto,
. TexCrim.Proc.Code Ann. art. 42.18, § 8(b)(3) states that a prisoner who is serving a sentence for certain enumerated offenses, or one whose judgment contains an affirmative deadly weapon finding during the commission of or flight from a felony offense under TexCrim. Proc.Code Ann. art. 42.12 § 3g(a)(2), “is not eligible for release on parole until his actual calendar time served, without consideration of good conduct time, equals one-half of the maximum sentence or 30 calendar years, whichever is less, but in no event shall he be eligible for release on parole in less than two calendar years.”
. We emphasize that our holding is limited to Texas defendants because we are only considering the effect of a deadly weapon finding under Texas law, where such a finding is not an element of the offense charged.
. The defendant in
Davis
was convicted by a jury of burglary of a habitation. At the punishment phase of the trial, the jury made an affirmative finding that Davis had exhibited a deadly weapon in the commission of the burglary.
. The Texas Court of Appeals reaffirmed its holding in
Davis
in
Wissinger v. State,
.Our position is in accord with Texas law. Texas law requires that a defendant have some form of notice when the state intends to seek an affirmative finding that the defendant used or exhibited a deadly weapon during the commission of an offense.
Grettenberg v. State,
