Nebraska Republicans mobilized to change how their state awards electoral votes on Wednesday, with key legislators in Lincoln endorsing the plan and Democrats scrambling to stop it.

As the end of the legislative session approached, Republicans were looking for a way to pass LB764, which would assign all five Nebraska electors to the winner of the statewide vote. Republican Sen. Julie Slama said on Wednesday that she’d add “winner-take-all” to a bill already headed to the floor, before Friday’s deadline for moving it. Democrats said that they still had the votes, and time, to block that.

“The amount of chaos that Trump and his online cronies have created in the last few days of the legislative session where serious bills are being debated is a perfect snapshot of his bullying leadership,” Nebraska Democratic Party chair Jane Kleeb told Semafor. “The bill to remove a fair electoral vote process didn’t have the votes two months ago, two days ago or today. Nebraskans like our unique unicameral, public power and split electoral vote system.”