Syria's Kurds have announced a groundbreaking deal with Damascus on a Syrian troop deployment near the border with Turkey, as Ankara presses a deadly cross-border offensive that has sparked an international outcry.

Turkish-backed Syrian fighters watch as smoke billows from the Syrian border town of Tal Abyad
Turkish-backed Syrian fighters watch as smoke billows from the Syrian border town of Tal Abyad AFP / Bakr ALKASEM

The announcement on Sunday came as the United States ordered the withdrawal of almost its entire ground force in Syria.

An elderly man is evacuated from a building in the Turkish border town of Akcakale after it was hit by a rocket reportedly fired from Syria
An elderly man is evacuated from a building in the Turkish border town of Akcakale after it was hit by a rocket reportedly fired from Syria AFP / BULENT KILIC

Defense Secretary Mark Esper said the move to withdraw 1,000 US troops came after Washington learned that Turkey was pressing further into Syria than expected.

A Turkish-backed Syrian fighter fires during clashes in the border town of Ras al-Ain
A Turkish-backed Syrian fighter fires during clashes in the border town of Ras al-Ain AFP / Nazeer Al-khatib

Turkey's relentless assault, which has seen air strikes, shelling and a ground incursion manned mainly by Syrian proxy fighters, has killed scores of civilians and fighters since its launch on Wednesday.

The Kurds feel they have been betrayed by the United States, their once formidable ally in the fight against the Islamic State jihadist group, and left to fend for themselves in the battle against Turkish forces.

Aid groups warn of a new humanitarian crisis in Syria's eight-year civil war as 100,000 civilians fleeing the Turkish offensive seek relief
Aid groups warn of a new humanitarian crisis in Syria's eight-year civil war as 100,000 civilians fleeing the Turkish offensive seek relief AFP / Delil SOULEIMAN

The massively outgunned Kurds described their deal with the Syrian government as a necessary step to stop the assault.

Turkish-backed forces made significant progress along the border on the fifth day of an offensive in northern Syria
Turkish-backed forces made significant progress along the border on the fifth day of an offensive in northern Syria AFP / BULENT KILIC

"In order to prevent and confront this aggression, an agreement has been reached with the Syrian government... so that the Syrian army can deploy along the Syrian-Turkish border to assist the Syrian Democratic Forces (SDF)," the Kurdish administration said in a statement.

Map of northeastern Syria showing movements of people fleeing Turkish offensive and UN camps for displaced people. Situation as of Oct 12
Map of northeastern Syria showing movements of people fleeing Turkish offensive and UN camps for displaced people. Situation as of Oct 12 AFP /

It came after Syria's state news agency SANA said the army was sending troops to the north to "confront the Turkish aggression".

In an editorial published in Foreign Policy magazine, SDF chief Mazlum Abdi wrote: "If we have to choose between compromises and the genocide of our people, we will surely choose life for our people."

Turkish-backed Syrian fighters wave the Syrian opposition flag on top of a building in the border town of Tal Abyad
Turkish-backed Syrian fighters wave the Syrian opposition flag on top of a building in the border town of Tal Abyad AFP / Bakr ALKASEM

Kurdish authorities and foreign powers have warned of a major humanitarian crisis, which has already forced tens of thousands to flee their homes.

Rising smoke and explosions in the Syrian border town of Ras al-Ain as fighting rages along the border on the fifth day of a Turkish offensive in Kurdish-held northeast Syria
Rising smoke and explosions in the Syrian border town of Ras al-Ain as fighting rages along the border on the fifth day of a Turkish offensive in Kurdish-held northeast Syria AFP / Ozan KOSE

They have also warned repeatedly that the hostilities could undermine the fight against IS and allow jihadists to break out of captivity.

Mourners attend a funeral for Kurdish political leader Hevrin Khalaf and other Kurdish casualties
Mourners attend a funeral for Kurdish political leader Hevrin Khalaf and other Kurdish casualties AFP / Delil SOULEIMAN

More civilian casualties

Turkey's President Recep Tayyip Erdogan said the aim of Operation Peace Spring was to establish a "security zone" that would extend 30 to 35 kilometres (20 to 25 miles) into Syria and run between Kobane to Hasakeh, a stretch of 440 kilometres.

The Syrian Observatory for Human Rights war monitor said at least 26 civilians were killed on Sunday.

A wounded woman receives treatment at a hospital in Qamishli
A wounded woman receives treatment at a hospital in Qamishli AFP / Delil SOULEIMAN

Among them was Kurdish news agency ANHA's correspondent, Saad Ahmad. He died in a Turkish air strike on a convoy of vehicles transporting civilians and journalists.

AFPTV / Reza NOURMAMODE

At least 60 civilians have now died on the Syrian side of the border, with Turkish reports putting the number of civilians dead from Kurdish shelling inside Turkey at 18.

Aid groups have warned of another humanitarian disaster in Syria's eight-year-old war if the offensive is not halted.

The UN humanitarian agency OCHA said the exodus sparked by the fighting had grown to 130,000 people and it was preparing for that figure to more than triple.

France's President Emmanuel Macron said the Turkish offensive -- over which France has suspended arms exports to Ankara -- risked creating an "unbearable humanitarian situation".

Macron told reporters that he and Germany's Chancellor Angela Merkel had spoken separately with Trump and Erdogan to deliver a single, clear message: "Our common wish is that the offensive must cease".

Prime Minister Giuseppe Conte of Italy, one of Ankara's main arms suppliers, said he would press for an EU ban on arms sales to Turkey.

Camp 'without guards'

On the ground, the Kurdish administration in northern Syria said that Turkish bombardment near a camp for the displaced led to nearly 800 relatives of IS members fleeing.

Some 12,000 IS fighters -- Syrians, Iraqis as well as foreigners from 54 countries -- are detained in Kurdish prisons, according to official Kurdish statistics.

Trump tweeted on Sunday that "the U.S. has the worst of the ISIS prisoners," using an acronym for IS, but added: "Turkey and the Kurds must not let them escape."

Displacement camps host some 12,000 foreigners -- 8,000 children and 4,000 women.

"The brutal military assault led by Turkey and its mercenaries is now taking place near a camp in Ain Issa, where there are thousands (of people) from families of IS," a Kurdish administration statement said.

"Some were able to escape after bombardments that targeted" the camp, it said, adding that guards were attacked and the gates of the camp flung open.

According to the Observatory, at least 104 SDF fighters have been killed since the start of the Turkish offensive.

Turkish forces and their proxies captured Tal Abyad on Friday afternoon, which left Ras al-Ain, further east, as the last major target in the offensive.