Donald Trump is expected to swiftly sign the legislation, ending the four-day partial government shutdown. The president had been pressuring Republicans to accept the spending bill, fearing another shutdown only months after the 43-day closure last fall.

The government shut down on Saturday after Senate Democrats demanded changes to a spending package following the killings of U.S. citizens in Minnesota.

The House of Representatives will be back in session Monday to try to pass a spending bill that would end a partial government shutdown.