The Trump administration has told it will move to rein in Kurdish fighters that have been the backbone of the US campaign against the Islamic State in , in an effort to repair tattered relations.

The first step and “the crux of the matter”, a senior Turkish official said, is to withdraw the from the n town of and relocate them east of the Euphrates River. The town, about 40 kilometres  from ’s border, has come to symbolise the fevered competition for territory and influence in northern among the United States, , and other regional powers.

The American pledge, if carried out, would satisfy a long-standing demand by the Turkish government and fulfil a promise first made by the Obama administration to keep the Kurdish forces east of the Euphrates. The helped to take from the Islamic State in 2016 and have been there since.

Supporters of ’s President Recep Tayyip Erdogan’s ruling Justice and Development (AKP) Party, listen to his speech during a rally in Mersin, southern , on Saturday. Photo: AP

The US, which has pursued Islamic State forces with single-minded focus, has long insisted the were the most effective partners in the fight against the militants, despite Turkish complaints.

US commanders on the ground in and around have previously ned that several hundred American troops deployed there would defend the against any attack by Turkish troops, now massed a few kilometres away. Turkish officials were outraged last month when US commanders touring the area with American journalists praised the and vowed to fight alongside them if there were a Turkish attack.

A shootout between two members, both agree, would be catastrophic.

The US relationship with has been on a downd trajectory for several years because of what both sides have been doing, and seeking, during ’s civil . An outright rift between the countries has seemed increasingly likely in recent months.

Beyond quarreling over the , the US and have also traded diplomatic volleys in the aftermath of a coup attempt in in 2016. Turkish President Recep Tayyip Erdogan has stoked anti-American sentiment at home, and American policymakers have explored the possibility of imposing sanctions on in response to Erdogan’s increasingly authoritarian policies.

The possibility of a deal over has, at least temporarily, cooled temperatures, according to senior US and Turkish officials who spoke on the condition of anonymity about the still-tenuous rapprochement. The meetings that began last week, which are set to continue in both capitals over the coming months, will deal with a constellation of divisive issues, another senior Turkish official said, including the Trump administration’s opposition to Turkish plans to buy a n surface-to-air missile system.

The Turkish official said “the Americans understand our concerns more clearly” after visits last month to by US Secretary of State Rex Tillerson and Trump adviser HR McMaster. Defence Secretary Jim Mattis also met with his Turkish counterpart in Europe.

Other issues dividing and Ankara have also proved daunting, including ’s repeated insistence that the United States extradite Fethullah Gulen, a Pennsylvania-based Turkish cleric whom Erdogan accuses of directing the failed coup. US officials have chafed at this pressure to extradite Gulen.

US lawmakers, meantime, have become increasingly impatient with Erdogan’s broad crackdown on dissidents, journalists and others after the coup attempt, and with the Turkish imprisonment of US citizens. A brawl in May outside the Turkish ambassador’s residence in the District of Columbia, where police said Erdogan’s personal guards attacked anti-Erdogan protesters, also prompted outrage.

Several US lawmakers have called on the Trump administration to impose sanctions against the Turkish government. Some  have said that the upcoming State Department spending bill should require the secretary of state to block entry of Turkish officials who are “knowingly responsible for the wrongful or unlawful prolonged detention of citizens or nationals of the United States”.

Originally published in