Sudan's ruling military council and opposition leaders have signed a crucial power-sharing agreement.
It comes after talks to end the crisis were held all night in Khartoum.
The move is being seen as a big step towards establishing democracy in the African country.
Sudan's military seized power earlier this year after getting rid of long-time leader Omar al-Bashir.
A constitutional declaration is expected to be signed on Friday.