The U.S. Senate advanced legislation on Wednesday intended to limit President Donald Trump's ability to wage war against Iran, paving the way for a final vote as eight Republicans joined Democrats in supporting the war powers resolution.

The resolution would require Trump to remove U.S. troops engaged in hostilities against Iran unless Congress declares war or passes a specific authorization for the use of military force.

The vote was 51-45 on a motion to proceed to a final vote, expected on Wednesday or on Thursday.