The Senate passed an Iran War Powers resolution on Thursday, a rare measure that was approved with bipartisan support despite the fact that it has been opposed by President Donald Trump and aims to rein in his ability to use military action against Iran without congressional approval.

The vote was 55-45. Eight Republicans voted in favor of it: Lamar Alexander of Tennessee, Todd Young of Indiana, Mike Lee of Utah, Lisa Murkowski of Alaska, Susan Collins of Maine, Rand Paul of Kentucky, Bill Cassidy of Louisiana and Jerry Moran of Kansas.