Tex. Code Crim. Proc. art. 2A.102
(b) Unless prevented by other official duties, a district attorney shall represent the state in any criminal proceeding before an examining court in the attorney's district or before a judge on habeas corpus, if the attorney is:
Added by Acts 2023, 88th Leg., R.S., Ch. 765 (H.B. 4504), Sec. 1.001, eff. January 1, 2025.