While you were sleeping soundly early Friday, the government briefly shutdown for the second time in three weeks.
If you're reaching for the coffee and wondering what happened, we've got you covered. Here's a play-by-play of the dramatic night that played out in Washington:
Congress has been dragging its heels on passing a long-term budget deal, which lead to a short government shutdown last month. The January shutdown ended when Congress agreed on a short-term deal to keep the government running for a few weeks. At 12:01 a.m. ET Friday, the government's funding ran out — leading to a another government shutdown.
How long was the government shutdown?
Sen. Rand Paul (R-Ky.) held a protest that forced Congress to miss the midnight deadline, but ultimately Senators voted 71-28 to approve the deal shortly before 2 a.m. ET.
The House voted 240-186 in favor of the bill around 5:30 a.m. ET, successfully ending the five-and-a-half hour shutdown.
President Trump signed the bill on Monday morning, successfully ending the shutdown.
So, Sen. Rand Paul's to blame? Why was he against the deal?
The bipartisan budget deal will lift strict budget caps and pave the way for lawmakers to spend an extra $300 billion over the next two years on defense and domestic programs. Early Thursday the budget bill seemed like a go, until Paul objected to the spending increases attached to the bill.
Paul said he would only allow the budget bill to advance if GOP leaders gave him a vote on an amendment to restore the budget caps, set in 2011 to rein in deficit spending. If Paul got an amendment, then every senator would want one. And if any amendment passed, it would blow up the budget agreement.
As the midnight shutdown deadline loomed, Paul said on the Senate floor that he wanted to put lawmakers on the spot about government spending.
"The reason I’m here tonight is to put people on the spot," Paul said on the Senate floor. "I want people to feel uncomfortable. I want them to have to answer people at home who said, 'How come you were against President Obama’s deficits and then how come you’re for Republican deficits?''
Is this actual bipartisanship?
The bill includes massive spending increases for the military that Republicans wanted along with a big boost in domestic spending demanded by Democrats.
Both sides pressed for $89 billion for disaster relief, extending a host of health care provisions, and extending a slew of smaller tax breaks.
Some liberal Democrats object to the deal because it does not offer support for DREAMers, or undocumented immigrants who came to the U.S. as children. House conservatives have the same objections as Paul, arguing that it will pave the way for big spending and ballooning deficits.
What about the DREAMers?
House Minority Leader Nancy Pelosi voted against the bill due to congressional inaction on protections for DREAMers. Her vote came after she spoke on the House floor for eight hours Wednesday, reading story after emotional story about DREAMers who aspire to become U.S. citizens.
The fate of DREAMers hangs in Congress' ability to piece together legislation that will ensure their protected status from deportation.
On Sept. 5, President Trump terminated the Deferred Action for Childhood Arrivals program, the Obama-era initiative that has protected nearly 800,000 of them from deportation. He gave Congress six months to develop a legislative fix before DACA recipients started losing their protected status.
Pelosi and other Democrats have called on House Speaker Paul Ryan, R-Wis. to hold open debate on immigration legislation, but so far Ryan has resisted, saying he will only bring up a bill that Trump supports.
“We will bring a solution to the floor, one the president will sign,” he told reporters Thursday.
Contributing: Deirdre Shesgreen, Nicole Gaudiano, Alan Gomez, Mary Bowerman, USA TODAY; Associated Press