Republicans in the U.S. Senate late Wednesday rejected a resolution directing President Donald Trump to remove U.S. forces from hostilities with Iran. File Photo by Bonnie Cash/UPI | License Photo

June 25 (UPI) -- Senate Republicans late Wednesday narrowly defeated a Democratic resolution directing President Donald Trump to remove U.S. armed forces from hostilities with Iran unless military force is authorized by Congress.

Democrats have for the duration of the monthslong war with Iran sought to curb Trump's ability to wage war and on Tuesday successfully passed a similar though seemingly mostly symbolic War Powers Resolution in the Senate with the votes of four Republicans: Sens. Bill Cassidy of Louisiana, Susan Collins of Maine, Lisa Murkowski of Alaska and Rand Paul of Kentucky.

In rejecting S.J.Res. 185 in the late Wednesday 50-47 vote, Cassidy cast his ballot alongside the majority of his Republican colleagues while Paul voted present.

"Wow!" Trump said in response on his Truth Social platform. "Rand Paul and Bill Cassidy changed. ... This vote puts Iran on notice!"