The House early Friday morning passed a six-week stopgap spending bill carrying a massive budget deal, ending a less-than-six-hour government shutdown without Speaker Paul D. Ryan providing Democrats the exact commitment they were seeking on an immigration vote.

President Donald Trump will sign the measure Friday morning, spokesman Raj Shah said without specifying a time.

Enough Democrats —73 of them — voted “yes” to offset the 67 Republican defections on the bill to get it over the finish line. The final vote was 240-186, with 167 Republicans voting “yes” and 119 Democrats voting “no.”

The Democrats who voted “no”, including House Minority Leader Nancy Pelosi, were taking a stand for so-called Dreamers, young undocumented immigrants brought to U.S. as children who are facing the prospect of deportation without legislation to replace the Deferred Action for Childhood Arrivals, or DACA, program.

Watch: Rand Paul Objects to Expedited Vote on Budget Package