(NBC) -- The House of Representatives passed a budget deal early this morning to keep the government open through March 23rd.
The bipartisan $400 million budget measure passed with a vote of 240-186.
The bill includes a budget deal to set government funding levels for the next two fiscal years.
It now heads to President Trump's desk for his signature to reopen the government.
Earlier, the government stumbled into a shutdown at midnight after Senator Rand Paul mounted a protest over the budget-busting deal and refused to give in.
It eventually passed the senate 71 to 28.