89R3285 EAS-F     By: Spiller H.B. No. 917       A BILL TO BE ENTITLED   AN ACT   relating to a district or county attorney participating as counsel   in certain proceedings.          BE IT ENACTED BY THE LEGISLATURE OF THE STATE OF TEXAS:          SECTION 1.  Article 2A.105(b), Code of Criminal Procedure,   is amended to read as follows:          (b)  A district or county attorney may not:                (1)  be of counsel adversely to the state in any case in   any court except as an attorney ad litem appointed under Chapter   262, Family Code; or                (2)  after the attorney ceases to be a district or   county attorney, be of counsel adversely to the state in any case in   which the attorney has been of counsel for the state.          SECTION 2.  The change in law made by this Act applies only   to the prosecution of an offense committed on or after the effective   date of this Act.  The prosecution of an offense committed before   the effective date of this Act is governed by the law in effect on   the date the offense was committed, and the former law is continued   in effect for that purpose.  For purposes of this section, an   offense was committed before the effective date of this Act if any   element of the offense occurred before that date.          SECTION 3.  This Act takes effect September 1, 2025.