Sudan's pro-democracy movement has achieved its biggest victory – getting the junta to agree to a civilian government.
The Forces for Freedom and Change (FFC) have hammered out a deal with the generals who took power after the fall of long-serving ruler Omar al-Bashir.
They have agreed to a 39-month transitional period. During this time, Sudan's ultimate authority will be a Sovereign Council of five civilians and five generals, with an eleventh member to chair it – initially a soldier, later a civilian.
A technocratic government is being set up and an interim national assembly appointed.
Negotiating the power-sharing formula was hard enough – solving Sudan's deep-seated political and economic problems is going to be harder still.
Newly-appointed Prime Minister Abdalla Hamdok is under no illusions about the challenge he faces.
He is not a politician. He is an economist, a technocrat who has spent the last decades in the African Development Bank and the UN Economic Commission for Africa.