Delil Souleiman/GettyLate Sunday night in Washington, the White House announced it was pulling U.S. troops out of northeast Syria to clear the way for a Turkish invasion. The Kurds there who led the fight on the ground that defeated the so-called Islamic State had seen President Donald Trump’s betrayal coming. But still they hoped it could be avoided. “Don’t let the Turks disrupt my wedding,” our translator texted in September prior to our arrival in the region. For more than a year, we have been visiting almost monthly to interview captured ISIS cadres held by the Kurdish and Arab troops of the Syrian Democratic Forces (SDF) as part of a project for the International Center for the Study of Violent Extremism. Trump’s Crazy Syria Move Will Wipe Out America’s Allies and Set Up a Big ISIS ComebackIn September, we saw the Turkish threat to invade at any moment was held off by tense U.S. negotiations in which the SDF made considerable concessions, allowing Turkey to patrol jointly a large swath of territory while agreeing to remove checkpoints and military positions farther back from the Turkish border.“They should put their patrols inside Turkish territory, and not enter Syria,” SDF leaders told us at the time, as they reluctantly acquiesced to U.S. demands.* * *BITTER FRIENDS* * *Many current and former White House advisors counseled against the kind of announcement made Sunday night. Defense Secretary James Mattis resigned last year over Trump’s threat to remove the few thousand U.S. troops in Syria, who not only served as advisors in the fight against ISIS, but as deterrence against Turkish operations east of the Euphrates River. In a particularly bitter post on Twitter, Bret McGurk, who served as the special U.S. presidential envoy for the fight against ISIS from 2015 to 2018, wrote, “Donald Trump is not a Commander-in-Chief. He makes impulsive decisions with no knowledge or deliberation. He sends military personnel into harm’s way with no backing. He blusters and then leaves our allies exposed when adversaries call his bluff or he confronts a hard phone call.”The U.S. military learned about the withdrawal plan only after Trump decided on it following his Sunday phone call with Turkish President Recep Tayyip Erdogan. It has pulled out of two small observation posts in the security-mechanism zone near the Syria-Turkey border so far. But no further withdrawals are imminent, according to a knowledgeable source. The military, remembering Trump’s December order out of Syria and subsequent reversal, is waiting to learn if Trump will follow through with withdrawal this time.A recently departed senior Pentagon official considered the pullout a “blatant betrayal” of the U.S.’ Kurdish partners that gives “carte blanche to Erdogan” for a widely forecast bloodletting. “It’s going to be a massacre, that’s clear,” the ex-official told The Daily Beast. “It’s fundamentally wrong. They destroyed the Caliphate.”But the Kurds are not entirely defenseless. Military leaders of the dominant group, known as the YPG or People’s Protection Units (and their female YPJ partners), already were in overdrive in September, preparing for what they had long anticipated—a possible betrayal by their closest ally, the United States.* * *DIGGING IN* * *Alongside every major highway and criss-crossing the entire Northern Syria area, in fields, cities and towns, we saw digging for an extensive system of tunnels. “We’re ready either way,” the Kurdish leaders told us when we asked if they trusted the Americans to keep the Turks at bay.Kurds don’t have much, but their spirit of freedom and their desire to protect their hard-won territory and what they see as their incipient democracy was evident everywhere in September as the YPG troops prepared for battle with a much better equipped foe—the Turkish armed forces, the second biggest military in NATO. But nobody who fought ISIS in Syria in one vicious battle after another has forgotten that the huge Turkish army stood by and did nothing against the Islamic State as its killers carried out genocidal campaigns against Yazidis and Shiites, while abducting, torturing, ransoming or beheading Americans, Europeans, and Japanese, among others. Through all that, NATO ally Turkey was not interested in intervention. Far from it.That was until the White House statement Sunday night, up to which the U.S. military denied Turkey the ability to operate in airspace over SDF controlled territory, effectively making it more difficult to enter Northern Syria to conduct the “terrorist cleansing operation” that Turks insist upon. They already carried out one such operation in Afrin, west of the Euphrates, in January 2018, displacing Kurds and effectively taking over the area, using what Kurds claim are former ISIS cadres to fight for them.Turks view the Northern Syria area of Rojava, and the YPG dominated SDF, as controlled by Kurdish PKK terrorists operating under another name—wolves in sheep’s clothing. Indeed, in times past—until 1998—PKK leader Abdullah Ocalan, lived freely in Syria and the father of the current Assad allowed him to train and equip his highly disciplined terrorist group for attacks into Turkey. It’s also true that over time, the various governing parties of Syria, Iraq and Iran have made use of PKK assaults on Turks as a way to exert pressure on Turkish politics. Turkey has suffered greatly from PKK terrorist attacks both inside Turkey and globally, and the PKK is clearly designated on the U.S. and EU’s list of terrorist organizations. In recent concessions to Turkey’s alarm over the SDF, a group they view as being in the hands of the PKK, the U.S. recently added additional individuals involved in the PKK to the U.S. State Department’s specially designated terrorist list. Turkey has also developed drones that fly over the Qandil mountains, in northern Iraq, making it easier to spot PKK movements and routinely send fighter jets to bomb them. In the case of northern Syria however, until President Trump’s announcement late Sunday night Washington time, the U.S. policy was to deny the Turks military incursions into territory where U.S. troops patrol and the U.S. military controls the airspace and claims by Turkey that the SDF is PKK have also been hotly disputed.While Turkey sees the SDF as dominated and led by a terrorist organization, the U.S. has a completely different perspective, viewing the YPG and SDF as valued allies in the fight against ISIS. Indeed, YPG and YPJ (Women’s People’s Protection Units) fighters lost over 1,000 lives fighting ISIS and it is common to see Kurdish men and women in Rojava on crutches, in wheelchairs and otherwise suffering from serious and lifelong injuries sustained in the battle to retake ISIS dominated areas, including Raqqa. While the rest of the world was silent, the YPG and YPJ can also take credit for going to the rescue of the Yazidis on Sinjar mountain in 2014, fighting to stop ISIS from carrying out a massive genocidal campaign in which ISIS cadres captured and enslaved countless Yazidi women, boys, and girls. The men were killed by ISIS, the boys killed or indoctrinated. The women and girls subsequently were raped and treated as chattel. But thousands were able to escape with YPG help.* * *THE PRISONERS* * *At present the SDF houses thousands of captured ISIS prisoners, holding the men in repurposed schools and prisons overflowing with former fighters and in camps similarly run at overcapacity for ISIS women and children. According to a March 2019 UN report, a total of 8,000 Islamic State fighters currently are held in SDF custody. In our recent visits to north and east Syria from May through August, relying on our primary intelligence sources, we were told that approximately 2,000 of these Islamic State prisoners were considered “foreign terrorist fighters” from North Africa, Europe, and the Americas.The same data was also corroborated in an August 2019 press release by the Office of the Spokesperson, Special Envoy of the Global Coalition to Defeat ISIS, Ambassador James Jeffrey. Just under a 1,000 of the prisoners are believed to be Europeans. ICSVE has interviewed approximately five percent of those detained. Most appear to have become totally disillusioned, are exhausted from battle and prison and say they want to lay down arms. While there is no specific deradicalization or rehabilitation program applied to them at present and we have been requested by the SDF and also agreed to build one, it’s safe to say the majority are spontaneously deradicalizing and simply want to return home to their former lives after facing a judicial process.The SDF prisons are overcrowded and the SDF leadership repeatedly has expressed a need to ICSVE researchers for technical assistance in dealing with terrorist prisoners and for financial assistance to build at least five prisons. Riots and attempted jail breaks have occurred in SDF prisons holding foreign fighters. Likewise, recent news reporting shows over-capacity has prisoners sleeping next to each other on their sides to be able to fit into small and overcrowded rooms. Three detention centers holding ISIS women and children also are administered by the SDF: Camps Hol, Ain Issa and Roj. According to a UN Report as of April 2019 an estimated 75,000 women and children were being held. Our data suggests that at least 60,000 are Syrians and Iraqis. At least 8,000 children and 4,000 wives of foreign fighters remain in the camp.Women and children live in tents in these camps which are hot in the summer, freezing cold during winter, and leak cold rainwater as well. Dust blows around the camps causing breathing difficulties for some. Women and children have died of typhus, tent fires, and other dangers in the camps. Recently vaccinations have been offered, but many mothers don’t trust the program and refrain from having their children vaccinated. The women cook for themselves and complain that the food provided them lacks nutritious fruits and vegetables. Schools are lacking as well.All of the camps housing women have suffered from ISIS enforcers still dedicated to the group who require the other women to continue to cover themselves and punish those who speak out against them. These women have attacked other women, set their tents on fire, stolen their possessions, attacked, bitten, beaten and stabbed guards and have murdered other women creating a sense of chaos, constant danger and oppression in the camps. Recently a gun fight broke out in Camp Hol, with one woman killed and seven wounded.Foreign fighters from about 60 countries remain in SDF custody. We have interviewed foreign fighters who are nationals of the United States, Canada, Australia, Trinidad and Tobago, the UK, Belgium, France, the Netherlands, Pakistan, Dagestan, Turkey, Denmark, Russia, Kosovo, Montenegro, Albania, Bosnia, Indonesia, Tunisia, Saudi Arabia, Morocco, Libya, Switzerland, Egypt, and Germany. * * *A TRIBUNAL?* * *While the SDF has struggled to contain the overflow of captured ISIS fighters, they have been frustrated by Turkish politics and threats to their very existence. In recent years with the Syrian uprising and rise of ISIS in Iraq and Syria, the Turks saw it to be to their advantage to fund, train and equip Islamist rebels that they believed could keep the Kurdish independence movements in Syria in a weakened state or altogether destroyed. The Kurds, meanwhile, fought back in 2015 when ISIS invaded the city of Kobani on the Turkish border and rose up as a valiant on-the-ground force to repel the terrorists. The U.S. led coalition began arming and supplying the YPG and YPJ, and providing air cover, infusing the Kurds with a powerful sense of valor and military might that ultimately led to the complete territorial defeat of an Islamic State “Caliphate” that had taken as its motto “remain and expand.”ISIS is hardly a defeated foe however, with weekly sleeper cell attacks occurring in both Syria and Iraq and the likes of ISIS leader Abu Bakr al Baghdadi still making video and audio appeals to supporters around the world to reinstate the Caliphate, starting with breaking the ISIS prisoners out of captivity.The subject of ISIS captives is one of great importance to President Trump who repeatedly has threatened to release the roughly 12,000 ISIS foreign men, women and children prisoners held by the SDF in prisons and camps. Trump’s view is that each country has to take its citizens back, even countries like Sweden that lack a terrorism law under which to prosecute returnees, and countries like France, which already has a serious militant jihadi prison problem and fears any more potential ISIS cadres inside its penitentiaries. These countries have continued to tell the SDF that an international tribunal can be established in its territory to try ISIS prisoners in place. But the UN Counter Terrorism Directorate and U.S. State Department strongly disagree with this proposal and President Trump continues to tweet that he is simply going to release the prisoners to European countries refusing to repatriate them—even though it is the SDF, not Washington, that has them in custody.In a series of tweets on Monday, Trump claimed erroneously that most of the ISIS prisoners are foreigner terrorist fighters and seemed to ignore that ISIS, even when based far away in Syria, is a very real threat to U.S. citizens and interests. It is “time for us to get out of these ridiculous Endless Wars, many of them tribal, and bring our soldiers home. WE WILL FIGHT WHERE IT IS TO OUR BENEFIT, AND ONLY FIGHT TO WIN. Turkey, Europe, Syria, Iran, Iraq, Russia and the Kurds will now have to … figure the situation out, and what they want to do with the captured ISIS fighters in their “neighborhood.” They all hate ISIS, have been enemies for years. We are 7000 miles away and will crush ISIS again if they come anywhere near us!”While arguments of who should be responsible to prosecute and hold ISIS prisoners can be made on both sides, in many ways Europe, Jordan and many other countries effectively did “flush the toilet” of their militant jihadi problem by allowing them to freely exit their countries to go fight in Syria, most of them ultimately joining ISIS. The U.S. at present repatriates all of its ISIS fighters bringing them to swift and sound justice at home.* * *ISIS AMBASSADOR TO TURKEY* * *Turkey also has a responsibility in the rise of ISIS, having allowed over 40,000 foreign fighters to cross over its border into Syria, many unabashedly on their way to join the Islamic State. Many prisoners tell us of Turkish complicity with their journey into ISIS-land and being wished well by border guards who winked as they crossed into Syria.Abu Mansour, a 36-year-old Moroccan ISIS emir interviewed by ICSVE in February 2019 in Iraqi prison, told us that he basically functioned as the ISIS ambassador to Turkey, negotiating border issues, the transfer of ISIS wounded into Turkey for treatment, the flow of foreign fighters across the Turkish border into ISIS territory, and other logistics. “The subject of Turkey is a very big one,” he said, “and the mutual interests include the obvious and the hidden.”“Their benefit was that it was a border area and we have a border strip with them,” Abu Mansour continued. “Security is one of them, and they wanted to control north of Syria.” The Turks wanted to control the entire border region in Syria and even into Iraq as far as Mosul, according to Abu Mansour, but they wanted to do it through a proxy force. “So, they wanted to find organizations that would do this favor for them, including terminating the presence of the Kurdish Workers Party [the PKK], without a direct interference from Turkey. At the same time, especially since they were part of NATO, they don’t want to anger NATO, because they need NATO.”By the same token, Turkish President Erdogan’s background as a committed Islamist created a certain sympathy, as did his ambition to revive in modern form the old Ottoman empire, Abu Mansour claimed. “The pretext of [controlling the] Kurdistan Workers’ Party [PKK] is a strong pretext for Turkey, but they have ambitions, as they have entered regions that don’t have PKK in them.” Abu Mansour explained the Turkish and ISIS relationship through his own experiences. In 2013, he said, he was assigned to receive the ISIS volunteers arriving in Turkey, but later, “I supervised the country entry operations, registration as a whole.” Then in 2015, he said, “I worked on external relations, relations with the Turkish intelligence. It started when I was at the borders.” First there was an agreement about passing the wounded from Syria into Turkey, about the border crossing and security arrangements. “Ambulances, especially in critical and serious situations, could go straight to the [border] gate,” said Abu Mansour. “Then a Turkish ambulance takes the case to the Turkish hospitals, and it is followed up inside Turkey. There was a hotline with intelligence who are located at the borders. Most places were available, [including] hospitals in Turkey [and] there was a technical staff of doctors who follow up the case in Turkey. The [Turkish] state was paying for certain operations performed in private hospitals, but most cases referred by the public hospitals were for free.”Abu Mansour said he had “face-to-face meetings with Turkish delegations. Sometimes they represented the intelligence services, sometimes the Turkish army, depending on the issue. “Most meetings were in Turkey on the border strip, but there were also meetings in Ankara and Gaziantep, depending on the issue,” said Abu Mansour. He would travel with a delegation of two or three ISIS people.”Referencing the easy relationship, as he saw it, between ISIS and the Turkish intelligence and military, Abu Mansour claimed, an ISIS emir could “go to Ankara without a problem. They always sent a car, or a bodyguard. At one point, we met weekly, depending on the issue and its importance to Turkey and to us, according to the demand.”The situation described by Abu Mansour raises a question: did the ultimate defeat of ISIS in fact deprive the Turks of the proxy buffer zone they wanted—which they are now invading Syria to establish?Abu Mansour recalled, “Turkey asked on many occasions for a safe zone.” This would be a demilitarized zone where it would provide ISIS with whatever it wanted, but only inside Syrian territories. According to Abu Mansour, , ISIS refused to grant it, and relations started to fall apart. Eventually, Turkey grew sick of the back and forth, and there was also a split in ISIS leadership, with one faction deciding it would take the terror war into Turkey with a 2016 bombing at Istanbul airport. At the time, Abu Mansour was in Gaziantep, Turkey, and the Turkish authorities told him they thought this was an orchestrated act to pressure Ankara. But he says that was not the case. The external security services of ISIS had started setting their own agenda, “carrying out operations everywhere,” Abu Mansour told us. “We reached a state in which they couldn’t care less about politics, and they worked like gangs, [and would] strike anywhere.”While Turkey continues to claim that the SDF, our strongest ally in fighting ISIS, is a terrorist dominated group, many questions remain about Turkey’s own complicity with ISIS. Given that during a bitterly fought war with ISIS, in which many Kurdish lives were lost, that the SDF managed to take control of the area, institute a functioning political system that included granting an impressive array of minority rights and rights to women, the SDF deserves our respect and protection.But U.S. President Donald Trump has put a price on all this. “The Kurds fought with us,” he tweeted, “but were paid massive amounts of money and equipment to do so.” That they saved countless lives in the process, including American lives, does not seem to have been a factor.Spencer Ackerman also contributed reporting to this article.Read more at The Daily Beast.Get our top stories in your inbox every day. Sign up now!Daily Beast Membership: Beast Inside goes deeper on the stories that matter to you. Learn more.