Sudan President Omar al-Bashir has been ousted and arrested.
In a televised address, the country's Defence Minister Awad Mohamed Ahmed Ibn Auf said the leader has been arrested and kept in a safe place.
"The supreme committee decided to implement what was not in the mind of other people and for a transitional period of two years the armed forces will take power with the representation of the people to pave the way for the people," he said, announcing that an election will be held at the end of the period.
"For a long time, examining what's going on in the state and the corruption that is going on... the poor are poorer and the rich are still rich and there are no equal chances for the same people."
The Sudani airspace and border crossings will be closed for 24 hours until further notice, he said, adding that a state of emergency will be in place for three months.
Earlier, Sudan's National Intelligence and Security Service announced the release of all political prisoners across the country.
Thousands have been camping outside the army headquarters.
Leaders of the BRICS group of developing nations on Sunday condemned attacks on Gaza and Iran, called for reforms of global institutions and presented the bloc as a haven for multilateral diplomacy amid violent conflicts and trade wars.
Israel has attacked Houthi targets in three Yemeni ports and a power plant, the Israeli military said early on Monday, marking the first Israeli attack on Yemen in almost a month.
The death toll from catastrophic floods in Texas reached at least 78 on Sunday, including 28 children, as the search for girls missing from a summer camp continued and fears of more flooding prompted evacuations of volunteer responders.
An Israeli delegation left for Qatar on Sunday for talks on a possible Gaza hostage and ceasefire deal, an Israeli official said, hours before Prime Minister Benjamin Netanyahu was due to head to Washington to meet US President Donald Trump.
At least 50 people have been confirmed dead following flash floods in central Texas, authorities said as rescuers continued a frantic search for dozens more campers, vacationers and residents who were still missing.