Moscow CNN  — 

Russian President Vladimir Putin and Turkish President Recep Tayyip Erdogan met in the southern Russian resort city of Sochi on Tuesday with a shared agenda of shaping the endgame in Syria’s eight-year civil war.

The two leaders unveiled a 10-point memorandum of understanding with an unstated bottom line: The Americans do not have a place in shaping the future of Syria.

What did Putin and Erdogan agree to?

Russia and Turkey announced a wide-ranging agreement that addresses a major Turkish concern – the presence of Kurdish YPG forces near their border. But it also acknowledges a major fear of the Kurds – that Turkish-backed Syrian rebel groups might unleash a campaign of ethnic cleansing against them and other minority groups.

Under the deal, Russian military police and Syrian border guards will enter the Syrian side of the Syrian-Turkish border from noon Wednesday. Over the next 150 hours, they are to remove the YPG and their weapons, back to 30 km (about 18 miles) from the border. From 6 p.m. local time next Tuesday, the Russian military police and Turkish military will begin patrols along that line.

There are some exceptions: the town of Qamishli will not be included in that 10 km zone, and it was not clear if the agreement applies the entire length of the Turkey-Syrian border, or just the areas where the Syrian Kurds exercised control.

The deal also acknowledges some facts on the ground: Turkey will keep control of the areas it has taken in their recent incursion into northern Syria.

What does it mean for the Kurds?

The Kurds will have to make concessions. The agreement asks the YPG or SDF – an American-backed fighting force made up largely of the YPG – to make concessions outside of the current area of conflict. The YPG in the agreement are meant to withdraw from the towns of Manbij and Tal Rifaat.

The deal also implies that the Kurds have a new guarantor. After President Donald Trump effectively abandoned the Kurds, by ordering the sudden withdrawal of US forces from Syria and leaving the YPG exposed to a Turkish advance, that role now falls to the Russians.

A fighter from the Syrian Democratic Forces SDF stands guard as a US military vehicle pulling out of a US forces base in the Northern Syrian town of Tal Tamr drives by.

Now Moscow will have to deploy more troops and equipment to Syria as part of an expanded mission. But the question remains open: With so few Russian forces on the ground, Syrian Kurds may have little alternative but to allow Syria’s Russian-backed military into Kurdish-held areas.

Who wins and loses in this arrangement?

Putin and Erdogan have emerged as the main geopolitical power brokers in the region.

Turkey and Russia may have backed opposing sides in the Syrian civil war: Moscow provided air power to support Syrian President Bashar al-Assad, while Turkey supported rebel groups seeking to oust the regime.

But Putin and Erdogan seemed to favor an outcome that does not involve redrawing international borders – and that discourages separatist movements, something both countries have faced.