The House on Friday passed an amendment to the National Defense Authorization Act (NDAA) to block the Trump administration from funding military action against Iran without congressional approval.

The vote came amid rising tensions between Washington and Tehran as Iran surpassed the uranium enrichment limitations imposed by the Obama-era nuclear agreement. 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 withdrew the U.S. from the pact in 2018, but until recently Iran had stayed within the deal’s bounds.

ADVERTISEMENT

“Iran better be careful. They're treading on very dangerous territory. Iran of you listening, you better be careful,” Trump told reporters Friday.

The amendment, passed by a 251-170 vote, was part of Democrats’ efforts to get progressives’ support behind the NDAA after complaints that its $733 billion price tag is too high.

Most House Republicans opposed the measure, saying it could prevent Trump and the Pentagon from swiftly responding to threats emanating from Iran.

However, 27 Republicans broke rank to vote for the amendment.

“If my war-hungry colleagues — some of whom have already suggested that we invade Venezuela, North Korea and probably a few other countries before lunch time tomorrow — if they’re so certain in their case against Iran, let them bring their authorization to use military force against Iran to this very floor,” Rep. Matt Gaetz Matthew (Matt) GaetzTrump faces tricky choice on Supreme Court pick Florida attorney general scrutinizing Bloomberg paying fines for felons to vote Lara Trump campaigns with far-right activist candidate Laura Loomer in Florida MORE (R-Fla.), a close White House ally, said on the House floor.

Here are the 27 House Republicans who voted for Friday’s amendment:

Rep. Andy Biggs (Ariz.)

Rep. Ken Buck Kenneth (Ken) Robert BuckGOP lawmaker says China could use TikTok consumer data against US in a conflict Republicans call for Judiciary hearing into unrest in cities run by Democrats Hillicon Valley: Facebook bans ads from pro-Trump PAC | Uber reports big drop in revenue | US offers M reward for election interference info MORE (Colo.)

Rep. Tim Burchett Timothy (Tim) Floyd BurchettGOP lawmaker: 'Pretty cool' Harris has a shot at being the 'most powerful person in the world' Congress should encourage businesses, schools to reopen safely with liability protections Tennessee lawmaker tweets cellphone number, offers to talk to anyone 'overwhelmed' by pandemic MORE (Tenn.)

Rep. Michael Burgess Michael Clifton BurgessIgnore the misinformation: The FDA will ensure the safety of any COVID-19 vaccine House goes postal for one day GOP lawmaker calls asymptomatic testing crucial after CDC revises guidance MORE (Texas)

Rep. Ben Cline Benjamin (Ben) Lee ClineParties collide over police reform House GOP urge Trump against supporting additional funding for state and local governments GOP lawmaker claims Democrats putting impeachment 'ahead of rule of law' MORE (Va.)

Rep. Michael Cloud (Texas)

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 (Okla.)

Rep. James ComerJames (Jamie) R. ComerHouse panel advances bill to ban Postal Service leaders from holding political positions House Republicans investigating California secretary of state's contract with Biden-linked firm GOP lawmakers want answers from Disney on Mulan, China MORE (Ky.)

Rep. Warren Davidson Warren Earl DavidsonHillicon Valley: Subpoenas for Facebook, Google and Twitter on the cards | Wray rebuffs mail-in voting conspiracies | Reps. raise mass surveillance concerns Bipartisan representatives demand answers on expired surveillance programs GOP-Trump fractures on masks open up MORE (Ohio)

Rep. Brian Fitzpatrick Brian K. FitzpatrickHopes for DC, Puerto Rico statehood rise Florida Democrat introduces bill to recognize Puerto Rico statehood referendum DCCC reserves new ad buys in competitive districts, adds new members to 'Red to Blue' program MORE (Pa.)

Rep. Matt Gaetz (Fla.)

Rep. Anthony GonzalezAnthony GonzalezHillicon Valley: DOJ indicts Chinese, Malaysian hackers accused of targeting over 100 organizations | GOP senators raise concerns over Oracle-TikTok deal | QAnon awareness jumps in new poll House passes legislation to boost election security research Ex-NFL receiver Rep. Anthony Gonzalez: Big Ten skipping football season could be 'catastrophic' for athletes MORE (Ohio)

Rep. Paul Gosar Paul Anthony GosarPelosi must go — the House is in dire need of new leadership LWCF modernization: Restoring the promise Trump tweets his people have all left Drudge MORE (Ariz.)

Rep. Morgan Griffith Howard (Morgan) Morgan GriffithRep. Dan Meuser tests positive for COVID-19 Watchdog calls for probe into Gohmert 'disregarding public health guidance' on COVID-19 Massie plans to donate plasma after testing positive for COVID-19 antibodies MORE (Va.)

Rep. Jody Hice Jody Brownlow HicePelosi must go — the House is in dire need of new leadership House Republicans investigating California secretary of state's contract with Biden-linked firm GOP lawmakers want answers from Disney on Mulan, China MORE (Ga.)

Rep. Trey Hollingsworth Joseph (Trey) Albert HollingsworthHillicon Valley: Twitter flags Trump campaign tweet of Biden clip as manipulated media | Democrats demand in-person election security briefings resume | Proposed rules to protect power grid raise concerns Lawmakers call for bipartisan push to support scientific research The Hill's 12:30 Report: Presidential race tightens in key states MORE (Ind.)

Rep. Jim Jordan James (Jim) Daniel JordanHouse panel pulls Powell into partisan battles over pandemic Sunday shows preview: Justice Ginsburg dies, sparking partisan battle over vacancy before election House passes resolution condemning anti-Asian discrimination relating to coronavirus MORE (Ohio)

Rep. Thomas Massie Thomas Harold MassieGOP lawmaker praises Kyle Rittenhouse's 'restraint' for not emptying magazine during shooting Rep. Dan Meuser tests positive for COVID-19 Liz Cheney wins Wyoming GOP primary in reelection bid MORE (Ky.)

Rep. 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 (N.C.)

Rep. Alex Mooney Alexander (Alex) Xavier MooneyHouse GOP lawmakers urge Senate to confirm Vought Overnight Defense: House passes bills to rein in Trump on Iran | Pentagon seeks Iraq's permission to deploy missile defenses | Roberts refuses to read Paul question on whistleblower during impeachment trial Here are the lawmakers who defected on Iran legislation MORE (W.Va.)

Rep. Tom Reed Thomas (Tom) W. ReedCentrist House group offers bipartisan COVID-19 relief deal House approves two child care bills aimed at pandemic Diabetes Caucus co-chairs say telehealth expansion to continue beyond pandemic MORE (N.Y.)

Rep. Francis Rooney Laurence (Francis) Francis RooneyThe Hill's Convention Report: Democrats gear up for Day Two of convention The Hill's Morning Report - Presented by Facebook - Gohmert tests positive; safety fears escalate on Capitol Hill Pelosi to require masks on House floor MORE (Fla.)

Rep. Chip RoyCharles (Chip) Eugene RoyPelosi must go — the House is in dire need of new leadership GOP lawmakers want answers from Disney on Mulan, China Freedom Caucus member Chip Roy touts bipartisanship in first campaign ad MORE (Texas)

Rep. David Schweikert David SchweikertHouse Democratic campaign leader predicts bigger majority Democrat Hiral Tipirneni wins Ariz. primary to challenge Rep. David Schweikert Ethics watchdog finds 'substantial' evidence of improper spending by Rep. Sanford Bishop MORE (Ariz.)

Rep. Fred Upton Frederick (Fred) Stephen UptonOn Paycheck Protection Program, streamlined forgiveness is key Hispanic Caucus campaign arm endorses slate of non-Hispanic candidates Progressives soaring after big primary night MORE (Mich.)

Rep. Roger Williams John (Roger) Roger WilliamsThe Hill's 12:30 Report - Presented by Facebook - Yoho apologizes for accosting AOC Ocasio-Cortez accosted by GOP lawmaker over remarks: 'That kind of confrontation hasn't ever happened to me' Cook shifts 20 House districts toward Democrats MORE (Texas)

Rep. Ted Yoho Theodore (Ted) Scott YohoKat Cammack wins Florida GOP primary in bid for Ted Yoho's seat The Hill's Convention Report: Democrats gear up for Day Two of convention Eyes turn to Ocasio-Cortez as she seeks to boost Biden MORE (Fla.)