Sudan’s President Omar Al Bashir was overthrown in a coup by the armed forces and placed under arrest at the presidential residence heavily surrounded by guards.
The Sudanese president ruled the country with an iron fist for 30 years.
Thousands of people flocked to an anti-government protest outside the defence ministry.
Huge crowds took to the streets in central Khartoum, dancing and shouting anti-Bashir slogans.
A two-year period of military rule was announced to be followed by elections.
Soldiers stormed Bashir’s Islamic Movement headquarters, the main component of the ruling National Congress Party.
Protesters also attacked the offices of Sudan’s intelligence and security service in the eastern cities of Port Sudan and Kassala on Thursday.
The constitution was suspended, a nationwide ceasefire imposed and a three-month state of emergency was announced.
Ex-military intelligence chief and Defence Minister Emad al-Din can succeed Adawi Bashir.
Adawi is said to be favoured by regional neighbours.
Bashir has been indicted by the International Criminal Court.
He is facing an arrest warrant over allegations of genocide in Darfur in 2003.
Estimatedly 300,000 people were killed in the 2003 genocide.
Bashir seized power in a bloodless coup in 1989 and managed his way through one crisis after another while withstanding attempts by the West to weaken him.
Sudan has suffered prolonged periods of isolation since 1993 when the United States added Bashir’s government to its list of terrorism sponsors.