Senators were optimistic they had the votes to end the government shutdown Monday after leaving meetings more confident about a compromise deal to allow Congress to pass a short-term funding bill.
The chamber passed a stopgap bill on Monday afternoon to keep the government open through Feb. 8 by a comfortable 81-18 margin.
"We will vote today to reopen the government," said Senate Minority Leader Chuck Schumer, D-N.Y.
Once the measure clears the Senate, it would move to the House, where if it gets approved it would go to President Donald Trump's desk. The bill also reauthorizes the popular Children's Health Insurance program for six years and delays some Affordable Care Act taxes.
Schumer said Democrats have received assurances that the Senate will take on immigration issues, such as the Deferred Action for Childhood Arrivals program. Earlier Monday, Senate Majority Leader Mitch McConnell, R-Ky., said he intends to allow debate on immigration before Feb. 8.
Schumer said he was "confident" a bipartisan bill to protect hundreds of thousands of immigrants brought to the U.S. illegally as children could win 60 votes. Protections under DACA end on March 5, the date Trump gave Congress to fix the program when he announced he was ending it.
Whether McConnell holds to his assurance and whether the Senate can pass an immigration bill remain to be seen. Democrats were holding out to get to vote on shielding those immigrants as part of a spending bill, but appeared not to have that demand met.
However, Schumer said he trusted McConnell's pledge.
"I expect the majority leader to fulfill his agreement to the Senate," the New York Democrat said, adding that if he does not, he will have "breached the trust" of bipartisan senators who worked the chamber out of an impasse.
Immediately after Schumer spoke, McConnell again cast the shutdown as a Democrat-driven decision over "illegal immigration."
"I think if we've learned anything during this process it's that a strategy to shut down the government over the issue of illegal immigration is something that the American people didn't understand," the senator said.
Numerous Democrats who opposed a funding bill on Friday night voted to advance the legislation on Monday. Those who voted against reopening the government were largely from solidly blue states or are rumored to have 2020 presidential ambitions.
If the measure gets passed by Congress and signed, the funding legislation means that federal agencies will no longer be forced to shut their doors and to furlough nonessential workers. U.S. government funding lapsed at the end of Friday.
Since Friday, some Democrats, including Schumer and Rep. Luis Gutierrez, D-Ill., have expressed a willingness to compromise on Trump's proposed border wall in order to secure protections for the young undocumented immigrants.
After the House passed a temporary funding bill on Thursday night, the Senate failed to approve it by the midnight Saturday deadline.
Trump had initially planned to celebrate the one-year anniversary of his inauguration by hosting a glitzy campaign fundraiser last weekend at Mar-a-Lago, his private club in Palm Beach, Florida. But the White House announced that the president would remain in Washington until a deal was reached.