(CNN)Sudan has descended into crisis after the military dissolved the country's power-sharing government and declared a state of emergency on Monday. The move has crushed hopes for a peaceful transition of power following the ousting of former President Omar al-Bashir in 2019. Here's what you need to know:
What's going on in Sudan?
Sudan had been ruled by an uneasy alliance between the military and civilian groups since 2019, but on Monday, the military effectively took control.
Prime Minister Abdalla Hamdok and his wife were detained and taken to an undisclosed location. Multiple government ministers and officials were also arrested.
General Abdel Fattah al-Burhan, the head of Sudan's armed forces, dissolved the power-sharing Sovereign Council and transitional government, saying in a televised statement that an "independent and fair representative government" would assume power until one is elected in 2023.
He said the power-sharing agreement with civilian members of the country's transitional sovereign council "became a conflict" over the past two years, "threatening peace and unity" in Sudan.
Several articles of the constitution have been suspended and state governors removed, Burhan said.
How did the current troubles start?
When Bashir was ousted in a 2019 coup, after three decades in power, Sudan's military leadership assumed control to oversee the transition of power, forming the Transitional Military Council.
But the council was strongly opposed by a pro-democracy movement which called instead for civilian rule. After a weeks-long standoff, the two sides agreed to form a Sovereign Council that would govern "for the next three years or a little longer."
Under the agreement struck in July 2019, the military council would be in charge of the country's leadership for the first 21 months. A civilian administration would then rule the council over the following 18 months.
Did the coup come as a surprise?
Not entirely. Adam Hireika, an aide to Hamdok, told CNN the premier was aware of the army's plans and had been under pressure to dissolve the government.
Hireika said he visited Hamdok on Sunday evening where he discussed the current state of affairs. He said Hamdok had just met with Burhan.
On Monday, the Information Ministry said Hamdok had been under pressure to release a statement "in support of the takeover." Instead, it said, he called on pro-democracy protestors take to the streets in peaceful protest.
Why is it happening?
Tensions had been rising after some politicians, including Hamdok, pushed for a full transition to civilian rule by November 17, in keeping with the original transitional agreement.
The situation escalated last month, when a military coup d'etat attributed to forces loyal to Bashir failed, resulting in most of the officers involved being arrested.
In the weeks since, military leaders have been demanding reforms to the Forces of Freedom and Change (FFC) coalition and the replacement of the cabinet. Civilian leaders accused them of a power grab.
Throngs of Sudanese protesters took to the streets last Thursday, demanding that the 2019 transition deal be honored and calling for an elected government. There were also pro-military protests opposing the civilian government.