¶1OPINION ON APPELLANT’S PETITION FOR DISCRETIONARY REVIEW
¶2Under a somewhat unique set of facts, appellant brings a double jeopardy challenge to the State’s attempt to retry him for an offense to which he pled guilty and the validity of which he has never challenged.
¶3On July 10, 1992, appellant pled guilty to an indictment charging him with theft of a *895firearm over $400.00, a third degree felony. See V.T.C.A., Penal Code § 31.03(e)(4)(C). The indictment did not contain any enhancement allegations,
¶4On July 24, 1992, the trial court, on its own motion and over appellant’s objections, granted a new trial. On August 11, 1992, the State again reindicted appellant for the same offense under the same cause number as the other two indictments, this time including four enhancement allegations.
¶5On September 9, 1992, after a hearing, the trial court denied appellant’s special plea of double jeopardy, motion to reconsider the trial court’s sua sponte order granting a new trial, and application for writ of habeas corpus based on double jeopardy claims. The trial court stated that the range of punishment it had initially recited was incorrect and the judgment for that case was void. For that reason the trial court had ordered a new trial. Appellant appealed the denial of the application for writ of habeas corpus.
¶6The Court of Appeals affirmed the trial court’s denial of habeas corpus relief. Hern v. State, 862 S.W.2d 179 (Tex.App.-Houston [1st] 1993) (opinion on rehearing). The Court of Appeals approved of the new trial order, stating the original sentence was void and the trial court’s only alternative was to withdraw appellant’s guilty plea. The court cited Shannon v. State, 708 S.W.2d 850 (Tex.Cr.App.1986), and Heath v. State, 817 S.W.2d 335 (Tex.Cr.App.1991). Finally, the Court of Appeals held that when a defendant successfully repudiates a plea bargain, either by withdrawing the plea or by successfully challenging his conviction on appeal, no double jeopardy violation occurs by restoring the parties to the position that existed prior to the plea bargain. According to the court, such repudiation occurred because appellant argued in his brief that not only should the original conviction be left intact because he had not challenged it, but also that the trial court should only be permitted to reassess punishment for the third degree felony to which he actually pled guilty.
¶7While we agree with the Court of Appeals’ denial of relief on this double jeopardy claim, we disagree with the court’s reasoning. In a case procedurally similar, we discussed re-prosecution and the setting aside of a void conviction. In Hoang v. State, 872 S.W.2d 694 (Tex.Cr.App.1993), we upheld the rein-dictment, reprosecution and conviction of a defendant for several aggravated robberies even though the prior convictions for those same offenses had not been challenged or set aside.
¶8*896After this one conviction had been set aside, the State petitioned the juvenile court to waive its jurisdiction of Hoang in all four of the aggravated robbery cases. The court did so and Hoang was reinducted for all four cases. He challenged the reprosecution on double jeopardy grounds.
¶9This Court stated that although the trial court had no authority to set aside the void convictions because they were final felony convictions over which only this Court had jurisdiction under Art. 11.07, §§ 2 & 3, it certainly could determine the validity of those convictions in the context of Hoang’s double jeopardy claim. We held that “a void conviction need not be respected, even absent an order setting it aside”; reprosecution was not barred even though the trial court could not set the conviction aside. Hoang, 872 S.W.2d at 698.
¶10In the instant case appellant’s conviction was void because the sentence exceeded the maximum allowed for a third degree felony, of which he had been convicted. See V.T.C.A., Penal Code § 12.34; see Heath, 817 S.W.2d 335. In both Heathand Shannon, cited by the Court of Appeals, the defendant initially challenged the void conviction. In the instant case appellant did not challenge the conviction so the trial court had no authority to sua sponte order a new trial. See Tex.R.App.Pro. 30 and 33; Ex parte Ybarra, 629 S.W.2d 943 (Tex.Cr.App.1982); Zaragosa v. State, 588 S.W.2d 322 (Tex.Cr.App.1979); and Ramirez v. State, 587 S.W.2d 144 (Tex.Cr.App.1979). For that reason the Court of Appeals’ reliance on Shannonis misplaced. In the instant case appellant never challenged the original conviction. Further, we disagree that appellant challenged the conviction by suggesting in his appellate brief that the cause be remanded for resen-tencing. The application merely challenged the reprosecution and did not attack the void conviction. The trial court had no authority to set it aside.
¶11Therefore, the Court of Appeals was incorrect in approving the trial court’s order of a new trial under Shannon. But, in accord with Hoang, the State can reindict and re-prosecute appellant for the same offense for which he has already been convicted because the first conviction is void. Accordingly, the judgment of the Court of Appeals affirming the trial court’s denial of habeas corpus relief on double jeopardy grounds is correct. The judgment is affirmed.
¶12. Included in the record is a reindictment of appellant for the same charged offense, dated July 9, 1992, the day before the plea proceeding. That indictment, with the same cause number as the original, was filed with the clerk and contains an enhancement paragraph which would make the punishment that of a second degree felony under V.T.C.A., Penal Code § 12.42(a). However, as is apparent from the statement of facts, the parties did not proceed on that indictment.
¶13. Hoanghad not been decided at the time the Court of Appeals issued its opinion in the instant case.