The legal challenge stems from Texas's attempt to redraw its congressional map ahead of the 2026 midterm election.