The U.S. Senate advanced a resolution on Thursday that would bar President Donald Trump from further military action against Venezuela without congressional authorization, a rare rebuke of the Republican leader.

The vote on a procedural measure to advance the war powers resolution was 52 to 47, as five of Trump’s Republicans voted with every Democrat in favor of moving ahead. One Republican senator did not vote.

The vote took ?place days after U.S. forces captured Venezuelan President Nicolas Maduro in a dramatic military raid in Caracas on Saturday. The rebuke for Trump, a day ?after senior Cabinet ?members briefed every member of Congress about its Venezuela policy, marked a shift in the 100-member Senate.