The Senate voted Monday to end debate and set up an additional vote to conclude the government shutdown after Republicans provided assurances to Democrats that immigration reform and other items of contention would be addressed in the near future.
The successful vote came after Senate Majority Leader Mitch McConnell pledged that it was Republicans' "intention to take up legislation here in the Senate that would address DACA, border security and related issues, as well as disaster relief." Democrats had attempted to pair such items with an appropriations package.
"Let me be clear: This immigration debate will have a level playing field at the outset and an amendment process that's fair to all sides," he said.
The vote passed by an 81-18 margin with just two Republicans, Sens. Mike Lee, R-Utah, and Rand Paul, R-Ky., voting no. Among the Democrats in opposition were a number of senators rumored to be interested in a 2020 presidential run, including Sens. Kamala Harris, D-Calif., Cory Booker, D-N.J., Elizabeth Warren, D-Mass., and Kirsten Gillibrand, D-N.Y.
The next step is for the Senate to vote on a final measure to fund the government through Feb. 8, passage of which would end the shutdown at three days and just one day into the start of the work week. The continuing resolution also includes six years of funding for the Children's Health Insurance Program. It was not immediately clear how quickly the Senate would hold that vote.
Though the vote to end debate was successful, Senate Minority Leader Chuck Schumer continued his criticism of the negotiation process and demonstrated particular frustration with what he described as a lack of bipartisanship from the White House.
"The great deal-making president sat on the sidelines," said Schumer on the Senate floor prior to the vote, explaining that he had not spoken with President Donald Trump since a meeting Friday before the shutdown began.
White House press secretary Sarah Sanders portrayed the deal agreed to as one proposed by Trump from the start — "to responsibly fund the government and debate immigration as a separate issue."
"I am pleased Democrats in Congress have come to their senses and are now willing to fund our great military, border patrol, first responders and insurance for vulnerable children," said Trump, in a statement read by Sanders at Monday's White House press briefing. "As I have always said, once the government is funded, my administration will work toward solving the problem of very unfair, illegal immigration."
"We will make a long-term deal on immigration if, and only if, it's good for our country," the statement concluded.
Some moderate and Democratic senators had told ABC News that they hoped McConnell would delay the vote to allow a little more time to work out a broader deal. The cloture vote, which required 60 votes, had already failed several times and Republicans were looking for as many as seven Democrats to join them as of Monday morning.
The cloture vote passed despite a group of bipartisan senators emerging from talks earlier in agreement that McConnell needed to clarify his immigration-related promises.
"We need a little bit more clarity," Sen. Gary Peters, D-Mich., said, to the agreement of some Republicans.
"I would encourage [McConnell] to try to [get firmer language,]" said Sen. Jeff Flake, R-Ariz. "If [Democrats] can get language they're comfortable with, I think we'll have the government open."
While Flake characterized McConnell's effort as a "pretty high profile promise," and some Democrats said that they felt additionally encouraged, it was far from certain that a solution would pass.
"I was more negative yesterday, last night, than I was today," said Sen. Amy Klobuchar, D-Minn., said before the vote, saying she thought the impasse could be resolved in "a day or two."
The blame game was in full force this weekend, with Trump tweeting about how the shutdown began with the first anniversary of his inauguration: "Democrats wanted to give me a nice present. #DemocratShutdown," he wrote.
Sen. Lindsey Graham, R-S.C., weighed in that the president is not being well-served by staff in the negotiations over immigration issues that are key to resolving the impasse and reopening the government.
Asked by ABC News if he was referring to Trump's senior policy adviser, Stephen Miller, a hardliner on immigration and close adviser on the issue to Trump, Graham said: "I'll just tell you his view of immigration has never been in the mainstream of the Senate. And I think we're never going to get there as long as we embrace concepts that cannot possibly get 60 votes."
The White House hit back, dismissing Graham's comments and calling him an "outlier."
"As long as Senator Graham chooses to support legislation that sides with people in this country illegally and unlawfully instead of our own American citizens, we are going nowhere. He’s been an outlier for years," said White House spokesperson Hogan Gidley.
ABC News' Meridith McGraw, Jordyn Phelps, David Caplan and Meghan Keneally contributed to this report.