The Senate has decided to break from President Trump and his plans to pull out of Syria and Afghanistan — voting Monday in favor of a non-binding amendment to stay.

Senators reportedly sided with Republican Majority Leader Mitch McConnell, who sponsored the amendment, and voted 70-26 in favor of keeping US forces in both countries.

The Kentucky lawmaker believes ISIS and al Qaeda militants should still be considered a threat, and he’s worried that “a precipitous withdrawal” may only bolster their efforts.

“I’ve been clear about my own views on these subjects,” McConnell told reporters last week after the Senate pushed his amendment through.

“ISIS and al Qaeda have yet to be defeated,” he said. “Withdrawal of the United States forces from the ongoing fight against these groups . . . could allow terrorists to regroup, destabilize critical regions, and create vacuums that could be filled by Iran or Russia, to the detriment of United States’ interests and those of our allies.”

Trump announced in December that he would be pulling troops out of Syria, saying ISIS “has been defeated.” Reports later emerged saying he would be removing roughly half of the 14,000 US forces stationed in Afghanistan, though sources noted how there were no set plans in the works.

Sen. Rand Paul, a fellow Kentucky Republican, blasted McConnell’s amendment on Monday evening after the vote — accusing him and other senators of forming a “war caucus.”

“What is the one thing that brings Republicans and Democrats together?” Paul asked reporters. “War — they love it. The more, the better. Forever war, perpetual war.”

Paul praised Trump for being “bold enough and strong enough” to bring the troops home — especially from Afghanistan “after 17 years” of fighting.

“We are no longer fighting anyone who attacked us on 9/11,” he said.

Paul also took to Twitter to voice his discontent, saying: “Apparently, these warmongers believe you can’t come home quickly or slowly.”

With Post wires