Senate Minority Leader Chuck Schumer announced Monday that Senate leaders have reached an agreement to end the three-day government shutdown by passing a stopgap spending bill and committing to tackle the issue of immigration before the next deadline.

“We will vote today to reopen the government,” Schumer said on the Senate floor, saying he and Senate Majority Leader Mitch McConnell had reached an “arrangement.”

The Senate is scheduled to vote on the bill soon, and Speaker Paul D. Ryan (R-Wis.) said House Republicans would support the temporary measure, which extends government funding until Feb. 8.

Schumer said Democrats have received assurances that the Senate will take on immigration issues, such as the Deferred Action for Childhood Arrivals (DACA) program. Earlier Monday, Senate Majority Leader Mitch McConnell, R-Ky., said he intends to allow debate on immigration before Feb. 8.

The Democratic leader 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.