US President Donald Trump's ability to wage war on Iran without congressional approval has been limited in a Senate bill passed by his fellow Republicans.
The Iran war powers resolution was approved by a vote of 55-45 - hours after Mr Trump warned that it would make America less safe from Iran.
The House passed a version of the bill in January, after Mr Trump ordered the killing of a top Iranian general.
Mr Trump is expected to veto the bill once it reaches the White House.