

This month, the Supreme Court ruled against the extension, ordering political leaders to agree on an electoral roadmap within 30 days and to hold elections within three months.
The Somali government has rejected the decision.
A day before the ruling, the president dismissed Chief Justice Baashe Yusuf Ahmed. They have since challenged the dismissals at the East African regional court in Tanzania.
Mahmood says the political and security crises are closely connected, with the absence of consensus over the elections making it harder for the government to focus on the fight against al-Shabab.
Guleid also warns that the threat to Somalia’s stability comes not only from the militant group but from clan-based militias increasingly challenging the federal government.
“Today, we have clan loyalists fighting alongside al-Shabab against the federal government,” he says.
He adds that the country’s leadership appears unable to anticipate the scale of the challenges ahead.
Who will fill the gap left by foreign partners?
Somalia’s security challenges are compounded by its heavy dependence on international financial support.
Latest data from its finance ministry shows that donor grants account for two-thirds of its planned $1.36bn budget in 2026.
However, the ministry said it had only received about $314m of grants in the first nine months of the year, equivalent to just 35% of the expected annual aid.
Mahmood believes that although some international military support is declining, other partners could help bridge the gap through bilateral agreements and continued assistance.
But Guleid is sceptical that countries such as Turkey, Qatar and Egypt could quickly replace the military and financial contributions of Uganda and the US.
He argues that Somalia’s dependence on external support makes it particularly vulnerable when international partners change their priorities.
That dependence has also contributed to increasingly strained relations with some foreign governments.
Somalia accuses the United Arab Emirates of funding armed groups and undermining its sovereignty, in the latest dispute involving an external power with significant security and economic interests in the country.
The UAE has rejected the criticism and hit back at the Somali leader, describing him as an “outgoing president” in reference to the dispute over his presidential mandate.
The two countries formally severed ties earlier this year, although the UAE has long been an important security and economic partner in Somalia.
For Egesa, the withdrawal of foreign troops could ultimately provide an opportunity for Somalia to demonstrate how much progress it has made in rebuilding its security institutions.
He believes the staggered departure of troops will allow Somali forces to assume responsibility gradually, while also forcing rival political factions to work together.
But Guleid remains far less optimistic.
He argues that unless Somalia addresses its military weaknesses, political divisions and growing influence of armed groups, it risks losing the security gains it has achieved in recent years.
For now, it faces the difficult task of fighting an entrenched insurgency, managing rival political interests and preparing for a contentious electoral process, all while some military partners are preparing to pull out.
Whether Somalia can withstand these pressures without renewed instability remains an open question.
