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.

Trump has urged the House to move quickly to vote on a deal that includes extending DHS funding for two weeks.