The Republican-controlled Texas house on Wednesday approved a redrawn congressional map requested by Donald Trump and fiercely opposed by Democrats, who led a weeks-long protest to stall the effort that kicked off a coast-to-coast redistricting arms race between red and blue states.

With the house’s approval, the measure next goes to the state senate, where it is expected to pass, possibly as soon as Thursday. It would then be sent to the state’s Republican governor, Greg Abbott, for his promised signature before taking effect.