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.
A powerful magnitude 7.3 earthquake struck near the coast of Mexico's southernmost state of Chiapas on Friday, triggering a tsunami warning and shaking buildings in neighboring Guatemala and El Salvador.
The US Central Command (CENTCOM) has announced that it completed its latest major wave of strikes against Iran, while Kuwaiti and Qatari defence forces reported intercepting missile attacks early on Friday.
Andy Burnham, nicknamed the 'King of the North', was elected leader of Britain's governing Labour Party on Friday, the final step before becoming its seventh prime minister in a decade on a pledge to thwart the rise of the populist Reform UK.
One of Kuwait's power generation and water desalination stations was hit in an Iranian attack, causing damage to facilities, a fire and the disruption of a large number of electricity generation units, Kuwaiti authorities said on Friday.