Tex. Elec. Code § 232.001
This chapter applies to a contest of an election for nomination or election to a public office or an office of a political party.
Acts 1985, 69th Leg., ch. 211, Sec. 1, eff. Jan. 1, 1986.