Sudan's protesters and ruling generals Wednesday inked a power sharing deal, paving the way for a civilian administration, a key demand of demonstrators since president Omar al-Bashir was deposed in April.

The two sides initialled a document called the "Political Declaration", an AFP correspondent reported, after intense talks through the night over fine details of the agreement.

The deputy chief of the ruling miliary council Mohamed Hamdan Dagalo - who initialled the deal on behalf of the generals - told AFP the agreement was a "historic moment" for Sudan.