A $95.34 billion bill that includes aid for Ukraine, Israel and Taiwan advanced in the U.S. Senate on Thursday after Republicans blocked compromise legislation that included a long-sought overhaul of immigration policy.

Senators backed a procedural motion by 67-32, exceeding the 60-vote threshold to advance the bill. Seventeen Republicans voted in favor, in a surprising shift after they blocked the broader bill on Wednesday.

“This is a good first step. This bill is essential for our national security, for the security of our friends in Ukraine, in Israel, for humanitarian aid for innocent civilians in Gaza, and for Taiwan,” Schumer said in the Senate after the vote.

There was no immediate word on when the 100-member chamber would consider final passage, as some senators said they expected to remain in session during the weekend if necessary.