The peace deal for eastern Ukraine agreed Thursday sets clear deadlines for a cease-fire and the withdrawal of heavy weapons, but resolution of the main political and economic issues behind the conflict was made conditional on a series of difficult steps and put off until the end of the year.

The deal made by the leaders of France, Germany, Russia and Ukraine builds on a cease-fire agreement that was reached in September and violated almost immediately.

Here is a look at what they did and did not agree upon, and who won and lost in the process:

CEASE-FIRE

Ukrainian troops and Russian-backed separatist forces are to begin an "immediate and comprehensive" cease-fire by the start of Sunday (2200GMT, 5 p.m. EST on Saturday).

HEAVY WEAPONS WITHDRAWAL

Both sides are to pull heavy weapons back from the frontline from 50 kilometers (30 miles) to 140 kilometers (85 miles) depending on their caliber, creating a much wider buffer zone than specified under the September agreement. The withdrawals, which are to begin Monday and be completed within two weeks, are to be monitored by the Organization for Security and Cooperation in Europe.

There is no provision for outside peacekeepers, something Ukraine had opposed, fearing it would open the door for troops loyal to Moscow.

FOREIGN FIGHTERS

All foreign fighters, "mercenaries" and their weapons are to leave Ukraine, a reference to the troops that Ukraine and the West accuse Russia of sending into eastern Ukraine. Moscow has insisted that the Russians in eastern Ukraine are volunteers, but its denial is belied by the sheer number of sophisticated heavy weapons in rebel hands.

PRISONERS

All prisoners on both sides are to be released no later than five days after the withdrawal of heavy weapons. Russia has been under pressure from the West to free Nadezhda Savchenko, a Ukrainian air force officer who has been on a hunger strike in a Russian prison for more than two months. Russia has charged her with involvement in the deaths of two Russian journalists in eastern Ukraine. The Ukrainian government would likely portray her release as a major concession.

ELECTIONS

In a win for Ukraine, the separatist Donetsk and Luhansk regions, which held their own elections last fall, are obliged to hold new elections under Ukrainian law. The vote is to be monitored by international observers under the OSCE.

BORDER CONTROL

In a major victory for Russia, restoration of Ukrainian control over the border with Russia in separatist-controlled areas is conditional on Ukraine amending its constitution to grant wide powers to the eastern regions, including the right to form their own police force and trade freely with Russia. The deal sets a target date of the end of the year.

This gives Russia what it wants most: leverage over its Western neighbor, which it can use to prevent Ukraine from ever joining NATO. The concession is certain to trigger heated political debate in Ukraine, which could derail implementation.

ECONOMY

In another win for Russia, Ukraine is obliged to restore banking services to the rebel regions and resume social payments, including pensions and salaries of those on the government payroll, including doctors and teachers. No deadline was set. The Ukrainian government froze all budget payments in November.