Congress approved a bipartisan budget agreement shortly before sunrise, paving the way for a two-year spending pact that will let lawmakers spend $300 billion more than current law allows.
A few hours later, President Trump signed the bill, according to the Associated Press, ending a brief federal government shutdown that happened while most Americans were sleeping and most government offices were closed.
The deal suspends a 2011 budget law championed by conservatives that set hard caps on discretionary spending and included an automatic trigger known as "sequester" cuts if Congress attempted to bust those spending caps.
The bill also included a one-time emergency influx of about $90 billion to help with ongoing recovery efforts for the hurricanes and wildfires that have hit the U.S. in recent months. All told, the bill hikes federal spending about $400 billion through September 2019.
Fiscal conservatives squawked at new spending levels. Sen. Rand Paul, R-Ky., delayed the vote on the bipartisan measure to rail against his fellow Republicans for acquiescing to more spending than they ever did under President Obama. The delays forced a partial government shutdown after midnight, to minimal impact.
"I ran for office because I was critical of President Obama's trillion-dollar deficits," Paul said on the floor, "Now we have Republicans hand-in-hand with Democrats offering us trillion dollar deficits."
The Senate passed the measure 71-28.
The bill was equally delayed in the House after Minority Leader Nancy Pelosi, D-Calif., made an impassioned case to her colleagues this week to vote against a bipartisan measure negotiated by her Senate counterpart, Minority Leader Chuck Schumer.
Many Democrats support the budget deal, but were unhappy with the compromise because it doesn't tackle immigration — specifically addressing the plight of DREAMers, including the roughly 700,000 immigrants who are in the U.S. illegally after being brought to the country as children and who are enrolled in the Deferred Action for Childhood Arrivals (DACA) program, which is set to expire on March 5.
In the end, however, Democrats declined to hold the spending bill hostage over immigration.
The House ultimately passed the measure on a bipartisan 240-186 vote just after 5:30 a.m. Only 73 Democrats voted for the bill; 67 Republicans voted against it.
The bill faced similar opposition in the House from fiscal conservatives who saw it as a broken promise to their base.
With a budget deal wrapped, Senate Majority Leader Mitch McConnell, R-Ky., has already started the procedural hurdles to begin an open Senate debate next week on immigration. House Speaker Paul Ryan, R-Wis., pledged on the House floor early this morning that he also intended to address immigration.
"My commitment to working together on an immigration measure that we can make law is a sincere commitment. We will solve this DACA problem," he pledged.