MINSK, Belarus -- The peace deal reached Thursday for Ukraine, if it holds, would be a partial win for Moscow and Kiev: Ukraine retains the separatist eastern regions and regains control of its border with Russia, while Russia holds strong leverage to keep Ukraine from ever becoming part of NATO.
But neither side came away from the marathon talks unscathed.
There's no sign Russia will escape the Western sanctions that have driven down its economy, and Kiev's price for regaining control of the border with Russia is to grant significant new power to the east.
But the complicated calculus of whether any side came out ahead can't be determined unless a single, straightforward term is fulfilled: halting the shooting and artillery salvos that have killed more than 5,300 people since April. That is supposed to happen Sunday, at one minute after midnight.
A cease-fire called in September never took hold and fighting escalated in the past month. Questions remain whether either side possesses the will to ensure a truce.
The cease-fire is to be monitored by the Organization for Security and Cooperation in Europe's observer mission in Ukraine. The OSCE mission head, Ertugrul Apakan, said he expected it would expand to about 500 observers, up from about 310 currently.
Under the terms of the deal reached after 16 hours of talks between the presidents of Russia, Ukraine, Germany and France, the next step is to form a sizable buffer zone between Ukrainian forces and Russia-backed rebels. Each side is to pull heavy weaponry back from the front line, creating a zone roughly 30-85 miles (50-140 kilometers) wide, depending on the weapon caliber.
Then come the knotty and volatile political questions.
While Russian President Vladimir Putin told reporters the deal envisages special status for Ukraine's separatist regions, Ukraine's president, Petro Poroshenko, maintained there was no consensus on any sort of autonomy or federalization for eastern Ukraine.
In addition, the agreement foresees the regions being able to form their own police forces and to trade freely with Russia, both of which would bring a degree of division and uncertainty within Ukraine that could be leverage to keep the country out of NATO.
Those measures would require constitutional reform, certain to be a highly fraught process.
"Anything that has to go through the Ukrainian parliament has a huge question mark attached to it," said Eugene Rumer of the Carnegie center. "It is going to be the subject of a huge and very fierce debate in Kiev."
Only after such reform is passed would Ukraine's full control over its border with Russia be restored, according to the pact.
Aside from the political resolution of the east's status, Ukraine also faces severe challenges with its troubled economy, which is close to bankruptcy. On Thursday, the International Monetary Fund agreed to give Ukraine a new bailout deal worth $17.5 billion (15.5 billion euros). The World Bank, meanwhile, announced it was ready to commit up to $2 billion to help Ukraine with reforms, to fight corruption and for other purposes.
Despite the uncertainties, the agreement's initiators saw it as a step forward.
"We now have a glimmer of hope," said German Chancellor Angela Merkel, who brokered the talks in the Belarusian capital of Minsk together with French President Francois Hollande.
"But the concrete steps, of course, have to be taken. And we will still face major obstacles. But, on balance, I can say what we have achieved gives significantly more hope than if we had achieved nothing."
As for Putin, he told reporters: "It was not the best night of my life."
"But the morning, I think, is good, because we have managed to agree on the main things despite all the difficulties of the negotiations," the Russian leader said.
Battles continued Thursday even as the talks went on, and Ukrainian military spokesman Andriy Lysenko said Russia sent 50 tanks and a dozen heavy weapons overnight into Ukraine.
In the rebel stronghold of Donetsk, residents who have seen their city pounded daily by artillery since late May were skeptical of the deal.
"We will see whether there will be a cease-fire or not," said resident Tatyana Griedzheva. "You have seen it with your own eyes, the kind of cease-fire that we have already had."
A previous cease-fire in September was violated repeatedly as Ukrainian forces and the rebels both tried to gain more ground.
Poroshenko stressed that the pact contains "a clear commitment to withdraw all foreign troops, all mercenaries from the territory of Ukraine," a reference to the Russian soldiers and weapons that Ukraine and the West say Russia has sent into eastern Ukraine to back the rebels.
Moscow has denied the accusations, saying any Russian fighters were volunteers, but the sheer number of sophisticated heavy weapons in the rebels' possession belies that.
Still, Merkel said, in the end, Putin exerted pressure on the separatists to get them to agree to the cease-fire.
"I have no illusions. We have no illusions. A great, great deal of work is still necessary. But there is a real chance to make things better," she said.
In Brussels, European leaders said the cease-fire must be respected before any scaling back of sanctions against Moscow can be considered.
"Our trust in the goodwill of President Putin is limited," said EU President Donald Tusk. "We didn't discuss any new sanctions but we didn't decide also about postponing the sanctions."
The French-German diplomatic offensive came as President Barack Obama considered sending U.S. lethal weapons to Ukraine, a move that European nations feared would only widen the hostilities.
"The true test of today's accord will be in its full and unambiguous implementation, including the durable end of hostilities and the restoration of Ukrainian control over its border with Russia," White House press secretary Josh Earnest said.
The urgency felt by all sides was underlined by the extraordinary length of the talks, which began Wednesday evening and continued uninterrupted through the night as crowds of reporters waited anxiously in a marble-floored, chandeliered convention hall in Minsk.
While the four leaders hailed the agreement, Russia and Ukraine still disagreed on how to end the fighting around Debaltseve, a key transport hub between the rebels' two main cities of Donetsk and Luhansk.
Putin said the rebels consider the Ukrainian forces there surrounded and expect them to surrender, while Ukraine says its troops have not been blocked.
Heintz reported from Moscow. Associated Press writers Peter Leonard and Balint Szlanko in Donetsk, Ukraine; Vladimir Isachenkov, Nataliya Vasilyeva and Lynn Berry in Moscow; Sylvie Corbet in Paris and Geir Moulson in Berlin contributed to this report.
Connect with the Southeast Missourian Newsroom:
For corrections to this story or other insights for the editor, click here. To submit a letter to the editor, click here. To learn about the Southeast Missourian’s AI Policy, click here.