The Senate approved a breakthrough two-year budget deal and stopgap spending bill early Friday, sending the package to the House too late to prevent a government shutdown that began at midnight.

In a 71-28 vote, the spending package easily cleared the Senate, buoyed by the support of both parties’ leaders and lawmakers’ eagerness to provide stable funding for the government after months of short-term patches. But resistance from Sen. Rand Paul (R., Ky.) delayed its passage in the Senate until after the government’s current funding expired at midnight.

The package heading to the House includes a short-term spending bill that would keep the government running through March 23. If passed by the House, that would give lawmakers enough time to translate the deal’s overall funding levels into a detailed spending bill that will fund the government through September.

(Update: The House passed the budget deal and spending bill early Friday)

Although the top four congressional leaders negotiated the budget deal unveiled this week, it faced pockets of resistance in the House from conservative Republicans concerned about lifting spending and debt and Democrats worried it would diminish their leverage in the immigration debate.