'Blood of martyrs not wasted'published at 06:39 British Summer Time 5 July 2019
Sudanese opposition figure Mariam al Mahdi has been out on the streets following the deal agreed overnight and has said that people are celebrating.
"They are in the streets waving the Sudanese flag, chanting that we have brought the civilian government by our might and our determination, that the blood of the martyrs was not wasted," she told the BBC's Newsday programme.
The celebrations were audible in the background while the interview was being recorded.
She said the two sides had agreed to have "an independent, transparent investigation of all the incidents that took place" last month.
A branch of the military - the Rapid Support Forces - have been accused of being responsible for the deaths of protesters in recent weeks. Some have cast doubt on the military's involvement in the transition because of the deadly way the protests were dispersed.