(CBS/AP) - President Donald Trump has signed the budget deal.
Trump tweets, “Just signed Bill. Our Military will now be stronger than ever before. We love and need our Military and gave them everything — and more. First time this has happened in a long time. Also means JOBS, JOBS, JOBS!”
The House narrowly passed the budget accord in the pre-dawn hours, ending a brief government shutdown and clearing a path for huge spending increases for both the Pentagon and domestic programs.
Passage came over the objections Democratic leaders who demanded the promise of a vote to protect “Dreamer” immigrants brought to the country illegally as children.
The Senate has passed a massive, bipartisan budget agreement and spending bill to reopen the shuttered federal government.
The bill now moves to the House.
Senators voted 71-28 to approve the deal, easily overcoming objections from Republican fiscal conservatives who say the bill marks a return to unchecked deficit spending.
The bill stalled in the Senate Thursday night when one of the opponents, Sen. Rand Paul, refused to allow a speedy vote.
Paul's protest forced Congress to miss a midnight deadline for passing a funding measure to keep the government operating
The U.S. government shut down at midnight, as Congress missed deadline to pass spending bill.
The federal government is headed for its second shutdown in three weeks, as Sen. Rand Paul holds up a vote on a bill to keep the government funded. The government runs out of funding at midnight Friday.
The Senate is in recess until 12:01 a.m., meaning a shutdown officially will take effect.
Paul can hold the vote until 1 a.m., and his aides tell CBS News' chief congressional correspondent Nancy Cordes that he intends to do so. Then House and the Senate then could not vote until 1 a.m. -- or one hour after the shutdown is set to begin. That would put the Senate vote no earlier than about 2:30 a.m. Then, the president still has to sign any bill.
Senate leadership aides say they think they could get the continuing resolution over the Senate about an hour after the House votes -- which means the earliest the House could vote is between 3 and 5 a.m. This means that a short term shutdown of just a few hours could be over by the time government workers wake up Friday morning.
On the Senate floor Thursday night, Paul railed against his own party for allowing greater spending, deficits and ultimately debt. Paul railed against government spending on everything from Afghanistan to misspent funds diverted from school lunch programs, saying both parties are, "spending us into oblivion."
"How come you were against President Obama's deficits, and then how come you're for Republican deficits? Isn't that the very definition of intellectual dishonesty?" he demanded.
Senate Majority Whip John Cornyn, R-Texas, said at 10 p.m. he didn't understand why his colleague was holding up the vote when it would not change the outcome.
Paul explained in an interview with Fox News Thursday afternoon why he's blocking the vote on the measure, that includes a bipartisan budget deal to lift spending caps. He demanded that GOP leaders allow a 15-minute vote on an amendment he crafted to maintain current spending ceilings, but GOP leaders did not seem inclined to give him that vote.
"I'm not advocating for shutting down the government. I'm also not advocating for keeping the damn thing open and borrowing a million dollars a minute," Paul said on Fox News.
Paul said that he had spoken to President Trump Thursday afternoon about the situation.
'I talked to him this afternoon," he said. "We had a good conversation. I told him to call up the majority leader, Senator McConnell, tell him that I wanted 15 minutes to have a vote to make a point that conservatives are unhappy with this deal. All they have to do -- I told him this at 11:00 a.m. this morning -- give me 15 minutes to debate, 15 minutes to vote and we could have been done by noon. But nobody wants to have it pointed out what an eye sore this deal is and how obnoxious it is to conservatives to spend good money after bad."
Paul had said he's willing to hold up the vote and shut the government down over his demands.
"We'll see. If they want to stay up until 3:00 a.m., I'm happy to do it for the fiscal solvency," he said.
Congress is aiming to prevent a government shutdown on Friday by passing a new spending bill by Thursday at midnight. The House had already voted on a short-term funding measure, known as a continuing resolution (CR), earlier this week that also expired March 23, but provided a boost in funding to the Pentagon through September.
The measures will not provide a fix for undocumented immigrants brought to the U.S. as children. Nor will they increase border security or provide funding for a southern border wall.
On Wednesday, Senate Majority Leader Mitch McConnell, R-Kentucky, and Senate Minority Leader Chuck Schumer, D-New York, announced they had reached a bipartisan two-year budget deal that doesn't fund the government, but lifts spending limits imposed on the military and non-defense domestic programs. The deal raises those caps, which were set by a 2011 law, by about $300 billion through fiscal 2019, which ends Sept. 30, 2019.
Meanwhile, House Minority Leader Nancy Pelosi, D-California, announced on the floor Wednesday that she will oppose the budget deal unless Speaker Paul Ryan, R-Wisconsin, commits to holding a floor vote on legislation that would protect so-called "Dreamers."
CBS News' Alan He contributed to this report.
© 2018 CBS Interactive Inc. All Rights Reserved.