Claiming new progress against Islamic State extremists in Syria, President Donald Trump said Friday that some European nations are now willing to take responsibility for detained IS fighters who are from their countries.

"Anyway, big progress being made!!!!" he exclaimed on Twitter. A day earlier, he had proclaimed that a U.S.-brokered cease-fire deal with Turkey marked "a great day for civilization," though the deal's effect was largely to mitigate a foreign policy crisis widely seen to be of his own making.

In a series of tweets, Trump said he had spoken Friday to Turkish President Recep Tayyip Erdogan amid reports that fighting actually had not ended.

"He told me there was minor sniper and mortar fire that was quickly eliminated," Trump tweeted, adding that there is "good will on both sides." He said, "The U.S. has secured the Oil & the ISIS Fighters are double secured by Kurds & Turkey."

Officials have said a number of ISIS fighters, likely fewer than 100, have escaped custody since Turkey launched its invasion last week.

Trump said nothing further about the European nations he contended had agreed to take some of the IS fighters.

After hours of negotiation in Ankara, the two nations Thursday agreed to a five-day cease-fire in the Turks' deadly attacks on Kurdish fighters in northern Syria, but some fighting continued early Friday in a northeast Syrian border town. The Kurds were U.S. allies in the fight against the Islamic State group but came under assault after Trump ordered U.S. troops to leave the area earlier this month.

The agreement requires the Kurds to vacate a swath of territory in Syria along the Turkish border in an arrangement that largely solidifies Turkey's position and aims in the weeklong conflict.

Vice President Mike Pence, who reached the deal with Erdogan, hailed the agreement as the way to end the bloodshed caused by Turkey's invasion.

But he remained silent on whether it amounted to a second abandonment of America's former Kurdish allies, many of whom are branded as terrorists by Ankara. The deal includes a conditional halt to American economic sanctions and no apparent long-term consequences for Turkey for its actions.

Turkish troops and Turkish-backed Syrian fighters launched their offensive against Kurdish forces in northern Syria a week ago, two days after Trump suddenly announced he was withdrawing the U.S. military from the area.

Trump was widely criticized for turning on the Kurds, who had taken heavy casualties as partners with the U.S. in fighting IS extremists since 2016.

While U.S. officials have insisted that Trump did not authorize Turkey's invasion, the cease-fire codifies nearly all of Turkey's stated goals in the conflict.

Turkish Foreign Minister Mevlut Cavusoglu said the United States had accepted the idea of a "safe zone" long pushed by Turkey, and he insisted Turkish armed forces will control the zone. He also made clear that Turkey will not stop at a previously limited zone; he said Turkish control of the Syrian side of the border must extend all the way to the Iraqi border.

Caught in the middle, the commander of Kurdish-led forces in Syria, Mazloum Abdi, told Kurdish TV, "We will do whatever we can for the success of the cease-fire agreement." But one Kurdish official, Razan Hiddo, declared that Kurdish people would refuse to live under Turkish occupation.

Trump seemed to endorse the Turkish aim of ridding the Syrian side of the border of the Kurdish fighters. "They had to have it cleaned out," he said.

During a campaign rally in Texas on Thursday night, Trump said, "Sometimes you have to let them fight, like two kids in a lot, you got to let them fight and then you pull them apart."

In the negotiations, a senior U.S. official said, Pence and national security adviser Robert O'Brien expressed condolences to Erdogan and his military commanders over their dead and injured in the weeklong campaign.

Leading U.S. lawmakers were less pleased than Trump.

Sen. Mitt Romney, the Republicans' presidential nominee in 2012, said he welcomed the cease-fire but it "does not change the fact that America has abandoned an ally."

A senior U.S. official insisted that the agreement was negotiated in consultation with Kurdish forces, and Pence said the U.S. would "facilitate" the Kurds' pullout, but he did not say if that would include the use of American troops.

The Pentagon had no immediate comment.

As Pence was speaking in Ankara, U.S. troops were continuing to board aircraft leaving northern Syria. Officials said a couple of hundred had already departed, with hundreds more consolidated at a few bases waiting to move out.

While the cease-fire seemed likely to temporarily slow legislation in Congress aimed at punishing Turkey and condemning Trump's U.S. troop withdrawal, lawmakers gave no sign of completely dropping the measures.

Shortly before the announcement of the pause in hostilities, Graham and Sen. Chris Van Hollen, D-Md., introduced legislation that would bar U.S. military aid to Turkey, seek to curb foreign arms sales to Ankara and impose sanctions on top Turkish officials unless Turkey withdraws its forces. Those sanctions would include a report on Erdogan's family assets.

In contrast with Pence's description of a limited safe zone, the agreement would effectively create a zone of control patrolled by the Turkish military that Ankara wants to stretch for the entire border from the Euphrates River to the Iraqi border, though the agreement did not define the extent of the zone. Turkish forces currently control about a quarter of that length, captured in the past nine days.

The rest is held by the Kurdish-led forces or by the Syrian government military, backed by Russia, which the Kurds invited to move in to shield them from the Turks. None of those parties has much reason to let Turkish forces into the areas.

Danielle Pletka, vice president for foreign and defense policy studies at the American Enterprise Institute, tweeted, "This is a respite while we surrender to Turkish domination of Northeast Syria."

___

AP writers Robert Burns, Deb Riechmann, Alan Fram, Darlene Superville, Lolita C. Baldor, Jill Colvin, Kevin Freking and Ellen Knickmeyer contributed from Washington.