The government shutdown is over, The Hill reports, thanks to a compromise in the Senate.

The federal government shutdown began late last week when Congress failed to pass a spending bill. Passage of that bill was complicated by the inability of Democratic and Republican lawmakers to come to a firm agreement regarding fixing the Dreamers (DACA) Act.

On Monday morning, the Senate voted 81-18 to reopen the government and promised that an immigration bill will reach the floor by February 8.

"After several discussions, offers and counteroffers, the Republican leader and I have come to an arrangement," Senate Minority Leader Charles Schumer (D-NY) said prior to the vote. "We will vote today to reopen the government to continue negotiating a global agreement," The Republican leader Schumer was referring to is Senate Majority Leader Mitch McConnell (R-KY).

If an immigration deal isn't reached by Feb 8th, “the Senate will immediately proceed to consideration of legislation” to protect Dreamers, Schumer said. 

"The process will be neutral and fair to all sides," Schumer added. "We expect that a bipartisan bill on [the Deferred Action for Childhood Arrivals program] will receive fair consideration and an up-or-down vote on the floor."

This recent funding measure will include a six-year funding extension for the Children’s Health Insurance Program (CHIP) as well as a two-year tax relief extension for the medical device industry, per Forbes

“Congress' action to once again suspend the medical device tax – just days before companies were set to start cutting checks to the IRS – means funds will not be diverted from investing in new jobs, new capital improvements and new treatments and cures,” said Advanced Medical Technology Association (AdvaMed) CEO Scott Whitaker in a statement.

Not all were happy with the deal. Some critics say that Schumer caved to the pressure and that Dreamers protections aren't guaranteed. 

According to ABC News, Senator Kamala Harris (D-CA) said she voted against the spending bill because, "I refuse to put the lives of nearly 700,000 young people in the hands of someone who has repeatedly gone back on his word."

And Credo political director Murshed Zaheed said, “It’s official: Chuck Schumer is the worst negotiator in Washington — even worse than Trump. Any plan to protect Dreamers that relies on the word of serial liars like Mitch McConnell, Paul Ryan or Donald Trump is doomed to fail.”

Supporters of the bill argue that Democrats had no choice but to come to the table, and that they should be happy that they received any promise at all.

“I think that’s all they’re going to get,” Senate Republican Whip John Cornyn (R-TX).

House Speaker Paul Ryan (R-WI) said that he believed a successful spending measure would quickly pass in the House, and that immigration reform would swiftly follow. 

Politico reports that the speaker told the hosts of Fox and Friends, “What we're saying is, open the government and then we'll get back to the negotiations [that] were already underway that [Democrats] blew up when they shut the government down."