During a brief halt in government funding early Friday morning, the Senate voted 71-28 to pass a budget deal, pushed by Republican and Democrat leaders, that will raise caps on spending by $300 billion over two years.

The Senate approved the deal at about 1:30 a.m. Friday, and the House passed it 240-186 around 5:30 a.m.

President Donald Trump, who signed the bill Friday morning, voiced his support on Twitter.

“I promised my constituents in western [North Carolina] that I would work to cut government spending,” Rep. Mark Meadows, R-N.C., chairman of the House Freedom Caucus, tweeted Friday morning. “This budget deal does the opposite—it expands government spending well beyond the caps, by almost 15 percent. We have to do better. Future generations depend on it.”

Sen. Rand Paul, R-Ky., also tweeted his disapproval of the deal:

The deal, which funds the government until March 23, raises spending caps set in the Budget Control Act by $296 billion, “with only a third of that being paid for,” according to a recent commentary by Justin Bogie, a senior policy analyst in fiscal affairs at The Heritage Foundation.

>>> 5 Things to Know About Congress’ Latest Budget-Busting Deal

The Budget Control Act, passed in 2011, sought to curb government spending and control the growth of federal programs.

Senate Majority Leader Mitch McConnell, R-Ky., and Minority Leader Chuck Schumer, D-N.Y., both had pushed the budget deal on Twitter, as had Trump.

Here is a list of how U.S. senators voted on the spending deal:

And here is the list of how members of the U.S. House voted: