Members of the Democratic primary field unloaded on President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE over his withdrawal of U.S. forces from northern Syria, arguing the move would weaken the U.S. position in the Middle East and security interests at home.

During an exchange over the ongoing military conflict between Turkish and Kurdish forces, several candidates at Tuesday night's Democratic debate in Ohio attacked Trump for the withdrawal of U.S. troops, and called for increased humanitarian protections for Kurdish civilians fleeing the conflict.

“We have an erratic, crazy president who knows not a damn thing about foreign policy and operates out of fear for his own reelection,” former Vice President Joe Biden Joe BidenFormer Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick Bloomberg rolls out M ad buy to boost Biden in Florida MORE (D) said of Trump's Middle East policy, adding that the troop withdrawal was "the most shameful thing any president has done in modern history in terms of foreign policy."

ADVERTISEMENT

"The slaughter going on in Syria is not the consequence of American presence, it is the consequence of American withdrawal and betrayal," added South Bend, Ind., Mayor Pete Buttigieg Pete ButtigiegBillionaire who donated to Trump in 2016 donates to Biden The Hill's Morning Report - Sponsored by Facebook - GOP closes ranks to fill SCOTUS vacancy by November Buttigieg stands in as Pence for Harris's debate practice MORE (D). "Look, I didn't think we should have gone to Iraq in the first place. I think we need to get out of Afghanistan. But it's also the case that a small number of specialized special forces and the intelligence capabilities were the only thing that stood between that part of Syria and what we're seeing now, which is the beginning of a genocide and the resurgence of ISIS."

The slaughter going on in Syria is not the consequence of American presence, it is the consequence of American withdrawal and betrayal. #DemDebate pic.twitter.com/zeVL3hQp4W — Pete Buttigieg (@PeteButtigieg) October 15, 2019

Sen. Elizabeth Warren Elizabeth WarrenOvernight Defense: Appeals court revives House lawsuit against military funding for border wall | Dems push for limits on transferring military gear to police | Lawmakers ask for IG probe into Pentagon's use of COVID-19 funds On The Money: Half of states deplete funds for Trump's 0 unemployment expansion | EU appealing ruling in Apple tax case | House Democrats include more aid for airlines in coronavirus package Warren, Khanna request IG investigation into Pentagon's use of coronavirus funds MORE (D-Mass.), a critic of the Iraq War, called for a cautious withdrawal of U.S. forces and blamed Trump for a "humanitarian disaster" erupting in northern Syria.

“I don’t think we should have troops in the Middle East, but we should do it in the right way," she said.

Sen. Bernie Sanders Bernie SandersSirota reacts to report of harassment, doxing by Harris supporters Republicans not immune to the malady that hobbled Democrats The Hill's Morning Report - Sponsored by Facebook - Republicans lawmakers rebuke Trump on election MORE (I-Vt.), a longtime skeptic of U.S. intervention in the Middle East, was the only candidate onstage to definitively say that Turkey was no longer an ally of the United States, blaming the Turkish government for "mass slaughter" of Kurdish forces and civilians.

ADVERTISEMENT

Trump, he added, had “wrecked America's ability to do foreign policy" by reversing U.S. foreign policy on a whim, and refusing to protect a U.S. military ally, the Kurds.

Sen. Cory Booker Cory Anthony BookerThe movement to reform animal agriculture has reached a tipping point Watchdog confirms State Dept. canceled award for journalist who criticized Trump 3 reasons why Biden is misreading the politics of court packing MORE (D-N.J.) suggested that the move would strengthen Syria's Bashar Assad and Russia's Vladimir Putin Vladimir Vladimirovich PutinWatchdog confirms State Dept. canceled award for journalist who criticized Trump Former intelligence agency director Robert Cardillo speaks out against 'erratic' Trump Kremlin: Putin calls for reset between US and Russia on cyber relations before elections MORE, and condemned the "retreat" of U.S. forces under danger from Syrian forces.

"We cannot allow the Russians to continue to grow in influence by growing on the world stage," Booker, said, adding, “This president time and time again is showing moral weakness."

Former Housing and Urban Development Secretary Julián Castro compared what he said was the hypocrisy of Trump allowing ISIS prisoners to be freed amid chaos in northern Syria while his administration detained thousands of migrants in detention centers in the U.S.

"Think about how absurd it is that this president is caging kids on the border and effectively letting ISIS prisoners run free," Castro said. "He has made a tremendous mistake, a total disaster there in Syria. He's abandoned the very people that we gave our word to."