But soon afterward, Turkish foreign minister Mevlut Cavusoglu clarified it was a “pause” in an early indication that the agreement remains shaky.

The deal creates a five-day halt to Turkey’s incursion against a Syrian Kurdish militia that was allied with the U.S. in the fight against the so-called Islamic State. It preserves sanctions that Trump placed on Turkey earlier this week but says they will be lifted once the offensive is fully stopped.

The deal represents a major concession to Turkey by agreeing that the country will take over a significant swath of Syria. And it sets up further complications with the Syrian Kurdish forces, known as the YPG, as it agrees they should surrender their heavy weapons. Ankara is wary of the group because of its ties to a rebel group that’s fought the Turkish state called the PKK.

The deal is almost certain to fail, said Brett McGurk, who until the end of last year served as Trump’s top envoy to U.S. partners fighting ISIS.