President Obama signed a stopgap spending bill on Friday to keep the government open for five days while lawmakers race to finish a long-term budget deal.

Obama signed the measure, which funds the government through Dec. 16, just hours before a midnight deadline to avoid a shutdown.


The House passed the spending bill on Friday, one day after the Senate approved the measure.

Republicans and Democrats in Congress are working toward passing a year-long spending bill. But the two sides have been unable to reach a final agreement due to a dispute over contentious policy riders.

GOP lawmakers have sought to insert provisions restricting the Obama administration’s environmental and financial regulations as well as language curbing the president’s plan to resettle 10,000 Syrian refugees in the U.S. next year. 

Democrats are opposed to those riders and are demanding some of their own, such as lifting a ban on federal research on gun violence. 

There have been signs of progress on reaching a deal in recent days. House GOP leaders have indicated they hope to introduce the final text of the legislation on Monday.