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.

US grants India six-month sanctions waiver to run Iran's Chabahar port
Trump cuts China tariffs to 47% after 'amazing' Xi meeting
Israel carries out new strikes in Gaza after asserting commitment to ceasefire
French police make more arrests in Louvre heist investigation
Afghanistan and Pakistan agree to restart peace talks in Istanbul, sources say
More than 100 killed in Israeli strikes on Gaza
Indonesia probes more free meal poisoning cases, after 700 students fall ill
At least 121 killed after Brazil's deadliest operation against drug gangs
