Due to the size of the 23rd, the ruling forced the redrawing of five districts between El Paso and San Antonio, including the 25th.
Doggett was set to face State Representative Joaquin Castro in the District 35 primary election.