The measure notably constrains President Donald Trump’s ability to waive the penalties.

The US House of Representatives has voted overwhelmingly to impose tough new sanctions on Iran, North Korea and Russia, a move that will antagonize the Kremlin as well as European nations fearing economic ramifications.

The measure notably constrains President Donald Trump’s ability to waive the penalties.

The sanctions package, which passed 419 to three after weeks of negotiations, “tightens the screws on our most dangerous adversaries in order to keep Americans safe,” House Speaker Paul Ryan said after the vote.

The measure now heads to the Senate, where there is support for sanctions but debate about whether to include penalties on North Korea.

The legislation is the result of a congressional compromise reached last weekend and is aimed at punishing the Kremlin for meddling in the 2016 US presidential election and Russia’s annexation of Crimea.

“Under Vladimir Putin, Russia has invaded its neighbor Ukraine, seizing its territory and destabilizing its government,” House Foreign Affairs Committee chairman Ed Royce said in applauding passage.

“Left unchecked, Russia is sure to continue its aggression.”

New sanctions against Iran and its Islamic Revolutionary Guard Corps, which stands accused of supporting terrorism, and North Korea, for its missile tests, are also included in the bill.

Key among the provisions is one that handcuffs the US president by complicating any of the leader’s unilateral efforts to ease penalties against Moscow in the future — effectively placing him under Congress’s watch.

Mr. Trump has faced accusations that his administration had sought to reassure Moscow that sanctions imposed near the end of the Obama administration could be lifted under a President Trump.

Initially, Mr. Trump resisted the legislation. But faced with near-total consensus among Republican and Democratic lawmakers, the White House blinked, but did not say directly that the billionaire president would sign it into law.

“He’s going to study that legislation and see what the final product looks like,” spokeswoman Sarah Huckabee Sanders told reporters Monday on Air Force One.

In mid-June, the Senate voted 98-2 in favor of tough sanctions on Moscow and Tehran, but the text stalled in the House.

With the North Korea sanctions now included, the new measure would need to be passed by the Senate before heading to the president’s desk, likely before summer break begins in mid-August.

Top Senate Democrat Chuck Schumer said he wants the new measure passed and sent to Mr.Trump’s desk “without delay.”