Trump strikes a deal with Democrats to fund the government — right in front of Ryan and McConnell

President Donald Trump pauses during a meeting with Congressional leaders in the Oval Office of the White House, Wednesday, Sept. 6, 2017, in Washington. From left, Speaker of the House Rep. Paul Ryan, R-Wis., Vice President Mike Pence, Trump, and Senate Majority Leader Mitch McConnell, R-Ky. (AP Photo/Evan Vucci)

President Donald Trump went around his own party Wednesday, siding with Democrats on a deal to fund the government and raise federal borrowing limits for three months — all to help speed cash to hurricane survivors.

Videos by Rare

“We had a very good meeting with Nancy Pelosi and Chuck Schumer,” Trump said after a brief White House pow-wow with congressional leaders, the Associated Press reports. “We agreed to a three-month extension on debt ceiling, which they consider to be sacred, very important.” Trump didn’t mention House Speaker Paul Ryan or Senate Majority Leader Mitch McConnell, who were also present at the meeting but opposed the Dem-backed deal.

As part of the agreement, legislators will speed a $7.9 billion hurricane relief package to the president’s desk by the end of the week, before FEMA’s annual funding dries up at the federal fiscal year’s close at the end of September. The House had already overwhelmingly approved a version of the Harvey relief bill with a 419-3 vote Wednesday.

RELATED: Terrifying videos show the full impact of Hurricane Irma.

Under the House bill, the Federal Emergency Management Agency would get $7.4 billion to distribute through its Disaster Relief Fund. The bill also would authorize $450 million specifically for direct loans to help small businesses get back on their feet. Three Republicans, Reps. Thomas Massie of Kentucky, Justin Amash of Michigan and Andy Biggs of Arizona voted against the bill.

But the bill — under the new deal forged with the White House — now heads to the Senate, which is expected to act quickly but also make changes, including raising the debt ceiling. More relief funding also could be added as Hurricane Irma bears down on south Florida.

What do you think?

The federal government’s overspending is the one controversy Donald Trump won’t tackle

After killing a 5-year-old boy, a drunk driver is getting off with just 30 days in jail