Now playing
01:20
House votes to pass spending bill
van jones miller 02122018
CNN
van jones miller 02122018
Now playing
01:24
Van Jones: Trump doesn't care about deficits
CNN
Now playing
01:26
Rand Paul: I never wanted government shutdown
paul ryan 2.8
CNN
paul ryan 2.8
Now playing
00:55
Paul Ryan: Committed to solving DACA problem
Speaker of the House Paul Ryan(L) R-WI listens while Senate Majority Leader Senator Mitch McConnell (R-KY) speaks to the press after meetings with US President Donald Trump at the White House February 27, 2017 in Washington, DC. / AFP / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
Speaker of the House Paul Ryan(L) R-WI listens while Senate Majority Leader Senator Mitch McConnell (R-KY) speaks to the press after meetings with US President Donald Trump at the White House February 27, 2017 in Washington, DC. / AFP / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
01:15
When Republican leaders were against spending
Now playing
00:44
Axelrod: Rand Paul wants to embarrass senators
rand paul senate floor 0208
CNN
rand paul senate floor 0208
Now playing
01:20
Paul: I can't in good faith look the other way
Senate TV
Now playing
01:23
Rand Paul: GOP deficit spending 'hypocritical'
nancy pelosi house speech
pool
nancy pelosi house speech
Now playing
00:56
Pelosi sets record with historic House speech
Now playing
00:50
McConnell: Worked to find common ground on deal
Now playing
01:20
Schumer: Deal is sprout of bipartisanship
(CNN) —  

President Donald Trump signed a spending bill Friday morning to keep the government operating after some brief uncertainty about when he would do so.

“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!” Trump tweeted after signing the legislation.

He then tweeted: “Without more Republicans in Congress, we were forced to increase spending on things we do not like or want in order to finally, after many years of depletion, take care of our Military. Sadly, we needed some Dem votes for passage. Must elect more Republicans in 2018 Election!” He also called the bill a “big victory” for the military.

The House of Representatives cleared the measure early Friday morning in a 240-186 vote, with 73 Democratic members voting for passage.

Earlier Friday morning, the White House told reporters that the President would sign the legislation, but did not provide guidance on exactly when that would be. A senior administration official had said Trump would sign the bill before noon but was unlikely to do so before 9 a.m., when federal employees would be back at work.

A second official said White House employees were expected to come to work as usual.

The Office of Personnel Management, which manages the federal workforce, had posted an alert on its website that stated there was a “lapse in appropriations.”

Showdown early Friday morning

The colossal bill, which lawmakers had been negotiating for months, is a game-changing piece of legislation, clearing the decks for Congress in dealing with major spending issues as well as doling out disaster relief money and hiking the debt ceiling, which was set to be reached next month.

The Senate also approved the measure earlier on Friday morning. The delay in its passage began when Kentucky Republican Sen. Rand Paul prevented the deal from advancing Thursday.

Paul took to the Senate floor several times Thursday and refused to agree to move up the time for a vote on the bill, which required unanimous consent from all senators.

In doing so, he forced the vote procedurally to occur after 1 a.m. ET on Friday, after government funding expired.

Eventually, the Senate voted for the bill and sent it to the House, where 67 Republicans in the GOP-controlled chamber voted against the plan.

What’s in the bill

The massive two-year budget deal proposed by Senate leaders Wednesday raises budget caps by $300 billion in the next two years, increases the debt ceiling and offers up nearly $90 billion in disaster relief for hurricane-ravaged Texas, Florida and Puerto Rico.

About $165 billion would go to the Pentagon and $131 billion to non-defense programs.

The debt ceiling will be raised by the appropriate amount until March 2019.

Exact spending would be left to the appropriations committees, but included in the funding is $10 billion to invest in infrastructure, $2.9 billion for child care and $3 billion to combat opioid and substance abuse.

CNN’s Tal Kopan, Phil Mattingly and Deirdre Walsh contributed to the report.