Tex. Penal Code § 12.43
(a) If it is shown on the trial of a Class A misdemeanor that the defendant has been before convicted of a Class A misdemeanor or any degree of felony, on conviction he shall be punished by:
(b) If it is shown on the trial of a Class B misdemeanor that the defendant has been before convicted of a Class A or Class B misdemeanor or any degree of felony, on conviction he shall be punished by:
(c) If it is shown on the trial of an offense punishable as a Class C misdemeanor under Section 42.01 or 49.02 that the defendant has been before convicted under either of those sections three times or three times for any combination of those offenses and each prior offense was committed in the 24 months preceding the date of commission of the instant offense, the defendant shall be punished by:
Acts 1973, 63rd Leg., p. 883, ch. 399, Sec. 1, eff. Jan. 1, 1974.
Amended by Acts 1993, 73rd Leg., ch. 900, Sec. 1.01, eff. Sept. 1, 1994;
Acts 1995, 74th Leg., ch. 318, Sec. 2, eff. Sept. 1, 1995;
Acts 1999, 76th Leg., ch. 564, Sec. 1, eff. Sept. 1, 1999.