Washington (CNN) 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.

The President warned the Senate not to green-light the measure on Wednesday, tweeting that "it is very important for our country's security that the United States Senate not vote for the Iran War Powers Resolution," and adding, "If my hands were tied, Iran would have a field day."

The White House has also issued a veto threat against it.

Despite that, the resolution, chiefly authored by Democratic Sen. Tim Kaine of Virginia, won bipartisan support. Several Republican senators, including Lee, Paul and Collins, signed on as co-sponsors.

Read More