MOGADISHU, Somalia (AP) — African Union peacekeepers are preparing to take over four military bases near Somalia’s capital from departing Ugandan troops in an effort to prevent al-Shabab militants from exploiting potential security gaps, according to a letter from the African Union mission to the United Nations support office in Somalia obtained by The Associated Press.

Uganda has announced plans to withdraw all its troops from Somalia by the end of 2027, bringing an end to a 20-year military deployment. The current withdrawal involves troops stationed in Somalia under a bilateral security agreement with the Somali government. Uganda also contributes forces to the African Union peacekeeping mission in the country.
Farhan Isak Yusuf, deputy executive director of Mogadishu-based policy research organisation Somali Public Agenda, said funding shortages had accelerated the withdrawal process. However, Uganda’s military statement did not explain why the bilateral forces were being withdrawn immediately.
The departing troops are currently stationed in Barawe, a coastal port town approximately 220 kilometres (135 miles) southwest of Mogadishu. It remains unclear which forces will assume responsibility for all the positions being vacated.
Two-Stage Withdrawal Process
Uganda announced on Monday that the withdrawal had begun, confirming that the first group of soldiers had already returned home.
Military spokesman Col. Chris Magezi said troops deployed under the bilateral agreement would complete their withdrawal within days. The country’s remaining forces, including those serving under the African Union mission, are expected to leave gradually by the end of 2027.
An October 31 letter from the African Union mission stated that Uganda deployed the bilateral forces following an April 2025 summit, during which African leaders called for additional peacekeepers to support the fight against al-Shabab.
The Ugandan troops subsequently helped Somali forces recapture and secure territory over the following 17 months.
The African Union Support and Stabilization Mission in Somalia (AUSSOM) plans to take over four military positions — Sabid-Anole, Bariire, Awdheegle and Bulonagad — during troop rotations scheduled for November.
The letter identifies the four locations as strategically important to the security of Mogadishu.
Questions Over Security at Vacated Bases
Meanwhile, Somali Army Commander Maj. Gen. Ibrahim Mohamed Mohamud visited troops in Barawe on Monday, where he received briefings on the security situation, according to a statement issued by the Somali military.
He instructed soldiers to remain on high alert and intensify military operations against al-Shabab. However, the army statement did not clarify whether Somali forces would take over the bases currently occupied by the Ugandan troops.
Somali and African Union forces captured Barawe from al-Shabab in 2014. The militant group had previously used the strategic port to transport fighters and weapons into the country and export charcoal to generate revenue for its operations.
Yusuf warned that the Somali National Army faces significant operational and financial challenges, making the transition particularly difficult.
He noted that Lower Shabelle, the region where the withdrawing Ugandan troops have been deployed, is strategically important for protecting Mogadishu from militant threats.
Withdrawal Amid Wider Security and Political Challenges
Uganda’s withdrawal plans come shortly after the closure of the United Nations’ political mission in Somalia, ending more than three decades of successive UN missions that supported state-building efforts and helped mediate political disputes.
Although the UN political mission has ended, humanitarian agencies continue operating in Somalia. A separate UN support office also remains in place, providing logistical assistance, supplies and transportation to African Union peacekeepers and some Somali security forces.
Somali authorities have described the closure of the political mission as an important milestone in the country’s efforts to manage its own affairs.
However, the development comes amid ongoing political tensions, including a dispute over President Hassan Sheikh Mohamud’s right to remain in office, as well as continued attacks by al-Shabab militants.
Last week, an army officer who survived an ambush reported that at least 20 Somali soldiers had been killed in an attack in the Bay region.
The Somali government acknowledged that military vehicles had been damaged but did not disclose any casualties among its troops.
The planned withdrawal of Ugandan forces therefore raises further questions about Somalia’s ability to maintain security and prevent al-Shabab from regaining territory as international military support gradually changes.




