The House passed a two-year budget deal Thursday that lifts the debt ceiling and boosts government spending by $320 billion.

The legislation would suspend the debt limit through July 2021 and increase spending caps for the next two years, putting the U.S. on track to add an estimated $1.7 trillion to the deficit over the next decade when compared with the billions in automatic spending cuts that would otherwise kick in.

ADVERTISEMENT

Lawmakers passed the package in a 284-149 vote. Sixty-five Republicans voted for the measure, and 16 Democrats voted against it.

The legislation now heads to the Senate, which is expected to pass it next week before senators leave town for the August recess.

The bill’s passage comes just days after President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE signed off on a deal reached between administration officials, Speaker Nancy Pelosi Nancy PelosiPelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' On The Money: Anxious Democrats push for vote on COVID-19 aid | Pelosi, Mnuchin ready to restart talks | Weekly jobless claims increase | Senate treads close to shutdown deadline Trump signs largely symbolic pre-existing conditions order amid lawsuit MORE (D-Calif.) and other congressional leaders.

The legislation would ramp up defense spending to $738 billion and $740 billion over the next two fiscal years, respectively, compared with the current level of $716 billion.

Nondefense spending would rise to $632 billion and $634.5 billion during the same period, an increase from this year’s $605 billion.

But the spending increases drew criticism from conservatives who blasted what they called a lack of fiscal restraint.

ADVERTISEMENT

Trump, whose initial budget proposal called for a 10 percent cut to nondefense spending while supercharging defense, tried to give conservative lawmakers political cover by reiterating his support for the deal in a Thursday morning tweet.

“House Republicans should support the TWO YEAR BUDGET AGREEMENT which greatly helps our Military and our Vets. I am totally with you!” he wrote.

House GOP leaders this week touted their wins in the deal: a major boost to defense spending, provisions that would ban so-called poison pill riders from spending bills over the next two years and $77 billion in cuts or revenue-raisers to help offset some of the bill's costs.

House Minority Whip Steve Scalise Stephen (Steve) Joseph ScaliseHouse GOP slated to unveil agenda ahead of election House panel details 'serious' concerns around Florida, Georgia, Texas, Wisconsin elections Scalise hit with ethics complaint over doctored Barkan video MORE (R-La.) noted before the vote that while there is more that he would have liked to have seen in the bill, Republicans are faced with the reality of a divided Congress that limits their ability to obtain everything they want in major legislation.

"You know, any time you have a big budget deal ... it's tough rounding up votes for it, because everybody can find something they don't like,” he told reporters Wednesday.

The legislation’s addition of $320 billion to the deficit over the next two years, however, proved too difficult a sell for some Republicans.

Thursday's vote split top GOP lawmakers, with "no" votes coming from Reps. Jason Smith Jason Thomas SmithWoman says she was fired from Whataburger for wearing Black Lives Matter mask Longtime House parliamentarian to step down Pass the Primary Care Enhancement Act MORE (Mo.), Mark Walker Bradley (Mark) Mark WalkerJoe Biden has long forgotten North Carolina: Today's visit is too late Mike Johnson to run for vice chairman of House GOP conference The Hill's Morning Report - Sponsored by National Industries for the Blind - Woodward book revelations rock Washington MORE (N.C.), Tom Emmer Thomas (Tom) Earl EmmerHouse Democrats' campaign arm reserves .6M in ads in competitive districts The Hill's Convention Report: Trump to attack Biden at final night of convention | Speech comes amid hurricane, racial justice protests | Biden accuses Trump of 'rooting' for violence Republicans cast Trump as best choice for women MORE (Minn.), Paul Mitchell Paul MitchellGOP wants more vision, policy from Trump at convention Loomer win creates bigger problem for House GOP Lisa McClain wins Michigan GOP primary in race to replace Rep. Paul Mitchell MORE (Mich.) and Gary Palmer Gary James PalmerComer tapped to serve as top Republican on House Oversight Top GOP post on Oversight draws stiff competition Trump takes pulse of GOP on Alabama Senate race MORE (Ala.).

Among the Republicans leaders who voted for it were Scalise, House Minority Leader Kevin McCarthy Kevin Owen McCarthyMcCarthy says there will be a peaceful transition if Biden wins GOP lawmakers distance themselves from Trump comments on transfer of power McCarthy claims protests in Louisville, other cities are 'planned, orchestrated events' MORE (Calif.), Republican Conference Chairwoman Liz Cheney Elizabeth (Liz) Lynn CheneyGOP lawmakers distance themselves from Trump comments on transfer of power Graham vows GOP will accept election results after Trump comments Liz Cheney promises peaceful transfer of power: 'Fundamental to the survival of our Republic' MORE (Wyo.) and Rep. Guy Reschenthaler Guy ReschenthalerSafe, responsible casino gaming supports state economies at crucial time Judge halts Trump campaign's mail-voting lawsuit against Pennsylvania GOP lawmakers raise questions about WHO's coronavirus timeline MORE (Pa.).

House Freedom Caucus Chairman Mark Meadows Mark Randall MeadowsAnxious Democrats amp up pressure for vote on COVID-19 aid Pelosi hopeful COVID-19 relief talks resume 'soon' The Hill's Morning Report - Sponsored by Facebook - GOP closes ranks to fill SCOTUS vacancy by November MORE (R-N.C.), one of Trump’s closest allies in the lower chamber, said that while he could not support the bipartisan deal, he had no intention of trying to make the president reconsider.

"I'm not trying to get him to flip," Meadows, who met with Trump on Wednesday, told reporters. “I think I've made my case as best as I can make it and compromise is something that you have to accept. I've been able to make a compelling case on why I feel like a different course is a better course of action, but the president saw it differently and I respect that.”

In December, conservative lawmakers and commentators convinced Trump to not sign a Senate-passed stopgap spending bill, which paved the way for a 35-day partial government shutdown, the longest in U.S. history.

Budget hawks this time around railed against the two-year budget deal.

“So-called Republican ‘leadership’ should be ashamed that they even considered this deal in the first place,” said Adam Brandon, president of FreedomWorks.

Leon Panetta, a Defense secretary under former President Obama who now co-chairs the Committee for a Responsible Federal Budget, called for a bipartisan commission to address the debt.

“Both sides this week so easily agreeing to fiscal defeat isn't bipartisanship, it is broken governance,” he said.

Since Trump took office, the debt has grown from just under $20 trillion to more than $22 trillion. While mandatory spending remains the largest driver of deficits, the 2017 GOP tax law is projected to add $1.9 trillion to the deficit over a decade, and bipartisan deals to increase defense and domestic spending, like the one this week, have added billions more.

But congressional appropriators argued the outcome was par for the course and that a good deal would have detractors on both sides.

“There's a lot of people that will never vote for debt ceiling on our side regardless,” said Rep. Tom Cole Thomas (Tom) Jeffrey ColeBottom line House approves .3 trillion spending package for 2021 Multiple lawmakers self-quarantine after exposure to Gohmert MORE (R-Okla.). “If you’re a Democrat, you’re going to be upset. ‘What, I can’t put any of our policy riders in approps bills for two years,’ or ‘that’s too much money on defense and we reduced what we wanted domestically.’”

Pelosi kept Democrats largely united in the vote, a turnaround from a showdown earlier in the year in which progressive opposition to the Democratic budget prevented a floor vote. Progressives had complained that defense spending rose too much and that there were not enough resources directed toward other areas of federal discretionary spending.

“Before a lot of it was theoretical,” said Rep. Mark Pocan Mark William PocanOvernight Defense: Nearly 500 former national security officials formally back Biden | 40 groups call on House panel to investigate Pentagon's use of coronavirus funds 40 groups call on House panel to investigate Pentagon's use of coronavirus funds Overnight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers MORE (D-Wis.), who co-chairs the Congressional Progressive Caucus. “What are you going to get right now? You're getting a lifting of the debt ceiling for two years, you're making sure there's no sequester. I mean, there's actual substance that is meaningful to Democrats. That's the difference."

By raising the final two years of spending caps set forth in the 2011 Budget Control Act, the deal effectively ends the threat of severe automatic spending cuts known as sequestration that were intended to force a compromise in debt reduction.

The House is expected to adjourn for a six-week August recess following the vote. Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellTrump 'no longer angry' at Romney because of Supreme Court stance On The Money: Anxious Democrats push for vote on COVID-19 aid | Pelosi, Mnuchin ready to restart talks | Weekly jobless claims increase | Senate treads close to shutdown deadline The Hill's Campaign Report: Trump faces backlash after not committing to peaceful transition of power MORE (R-Ky.) said the upper chamber will take up the measure early next week, before the Senate leaves town for its own break.

“Considering the circumstances of divided government, this is a good deal,” McConnell said.

Updated at 6:22 p.m.