President Trump has signed a stopgap spending bill to avert a government shutdown, the White House announced Friday evening.

The measure funds the government through May 5, giving lawmakers more time to reach an agreement on an omnibus spending bill that would carry through the rest of the fiscal year ending Sept. 30.

The legislation easily cleared both chambers earlier Friday; the Senate approved the measure by voice vote after the House voted 382-30 to pass it.

ADVERTISEMENT

If the measure had not been adopted, the government would have shutdown at midnight right as the Trump administration entered its 100th day.

Republican and Democratic negotiators will need to iron out a number of wrinkles in the spending deal when they return to Washington next week, including disputes over healthcare for miners and debt assistance for Puerto Rico.

Trump publicly accused Democrats of fomenting a shutdown crisis by making those demands, especially after the White House dropped its request that money for his proposed border wall be included in the measure.