For almost two decades Ugandan soldiers held Mogadishu and the Shabelle valley against al-Shabaab. Now they are going home, American troops have left Baledogle, and the money behind the African Union mission runs out at the end of the year. Into the gap steps Türkiye, with F-16s, frigates and a space base on the coast.
Colonel Chris Magezi did not dress it up. “UPDF has embarked on the drawdown of troops deployed in Somalia under bilateral arrangements with Somalia’s Federal Government, effective immediately,” the spokesperson for the Uganda People’s Defence Forces (UPDF) said on 2 November 2026. The first soldiers were already home. The rest of the bilateral contingent would follow within days, and the larger force serving with the African Union Support and Stabilisation Mission in Somalia (AUSSOM) would leave in phases, with every Ugandan soldier gone by the end of 2027.
Days earlier, Uganda’s army chief, General Muhoozi Kainerugaba, had put it more bluntly on social media: after “20 years of a lot of blood and sacrifice, we are handing over security to our Somali brothers”. With those words, the country that first sent peacekeepers to Somalia in March 2007, and that formed the backbone of every African Union (AU) mission since, began to close one of the longest military deployments in modern African history.

The End of Uganda’s Somali War
Ugandan troops arrived in Mogadishu after Ethiopia’s withdrawal in 2007, under the African Union Mission in Somalia (AMISOM). They fought street by street alongside the Somali National Army (SNA) to drive al-Shabaab, al-Qaeda’s affiliate in East Africa, out of the capital in 2011, and they have held the Banadir region and Lower Shabelle ever since. At its peak the UPDF contingent numbered close to 6,000. The mission changed its name twice, to the AU Transition Mission in Somalia (ATMIS) in 2022 and to AUSSOM in January 2025, but Uganda remained its largest contributor.
Today Uganda has about 6,500 soldiers in Somalia: roughly 4,500 with AUSSOM and around 2,000 under a bilateral security agreement signed at the end of 2024. The decision to leave reverses the government’s own position of only weeks ago. On 31 August Defence Minister Kiryowa Kiwanuka said Ugandan troops would stay under the bilateral pact even if the AU mission wound down. Somali officials reportedly urged Kampala to stay longer when President Hassan Sheikh Mohamud met President Yoweri Museveni in late October.
After 20 years of a lot of blood and sacrifice, we are handing over security to our Somali brothers.
General Muhoozi Kainerugaba, Chief of Defence Forces, Uganda
Money is part of the explanation. The UN Security Council extended AUSSOM’s mandate only to 31 December 2026, and on 1 July Washington told the AU it would not support renewed funding for the UN Support Office in Somalia (UNSOS), which spends roughly $500 million a year on food, fuel, water, medical care and casualty evacuation for AU troops. A 12-month transition plan is due to start in January 2027 while Somalia and the AU look for other funding. Farhan Isak Yusuf of the Somali Public Agenda research group has pointed to the funding gap as a reason for Uganda’s faster exit. Museveni and other Ugandan officials have also repeatedly criticised the political turmoil in Mogadishu.
Americans Leave Baledogle
Uganda is not the only partner pulling back. In late October, United States forces left Baledogle Military Airfield, about 90 kilometres north-west of Mogadishu in Lower Shabelle, handing it to the UPDF and the SNA, FDD’s Long War Journal reported. Baledogle had long served as a hub for American intelligence gathering, drone operations and training of the Somali Danab special forces brigade, and only in May 2025 the US military had announced new medical and housing facilities to develop it “as an enduring location”.
US officials said the troops had moved elsewhere in Somalia and could return. United States Africa Command (AFRICOM) said it “repositions its forces to optimize for ongoing counterterror operations”. The air campaign has not slowed: AFRICOM had logged 88 strikes in Somalia in 2026 by early November, with its focus shifting back to al-Shabaab in the south after concentrating on Islamic State fighters in Puntland in 2025. But Washington is increasingly building ties with Jubaland and Puntland, whose leaders are at odds with the federal government, rather than with Mogadishu alone.
The departures coincide with other changes. The UN’s political mission in Somalia closed days after Kainerugaba’s announcement, ending more than three decades of successive missions. Ethiopia plans to withdraw about 3,000 troops as it fights its own war at home, and Burundi’s future presence remains uncertain.
Türkiye’s Long Game
The partner moving the other way is Türkiye. Ankara opened Camp TURKSOM in Mogadishu’s Jazeera district in 2017 at a cost of about $50 million. Spread over some 400 hectares, it is Türkiye’s largest overseas military facility and can train 1,000 to 1,500 Somali soldiers at a time, including the Gorgor commandos. A ten-year Defence and Economic Cooperation Framework Agreement signed on 8 February 2024 commits Ankara to build, train and equip a Somali navy and help protect Somali waters.
Since then a training mission has become a combat presence. Somalia acquired the Bayraktar Akıncı drone to strike al-Shabaab, T129 ATAK attack helicopters arrived in June 2025, and three Turkish F-16s landed at Aden Adde International Airport on 28 January 2026, the first time Ankara has based fighter aircraft in the country. Turkish and Somali statements have since described F-16 strikes on al-Shabaab positions, including in the Goday area of Lower Shabelle. On 21 July the Turkish parliament extended the armed forces’ mandate in Somalia to July 2028, covering operations against terrorism, piracy, illegal fishing and smuggling, and leaving troop numbers to President Recep Tayyip Erdoğan. Turkish forces have also visited Baledogle and are reported to be interested in taking it over.
Türkiye continues to contribute to the peace, stability, and security of Somalia, as it has in the past.
Turkish Embassy in Mogadishu, 9 November 2026
The pace of engagement has quickened as the AU drawdown begins. On 30 October the frigates TCG Gökçeada and TCG Yıldırım sailed for Mogadishu with military supplies, to take over the rotating Somali Maritime Task Group and to escort a Turkish fishing vessel bound for trial fishing in Somalia’s exclusive economic zone. On 5 November Defence Minister Ahmed Moallim Fiqi met General Sabahattin Kılınç of the Turkish General Staff to discuss counterterrorism and “foreign interference in support of terrorist groups”. On 9 November the new Turkish ambassador, Ferhat Alkan, met National Security Adviser Awes Hagi Yusuf Ahmed in Mogadishu.
A Space Base on the Coast
The most striking sign of Türkiye’s commitment came on 22 November, when the Chief of the Turkish General Staff, General Selçuk Bayraktaroğlu, inspected the space base Ankara is building in Somalia. Footage released by the Turkish Armed Forces showed helicopter pads, netted barracks, an M48 tank dug into a defensive position and what Janes identified as an Aselsan STR-400G weapon-locating radar. Matching the video with satellite imagery, Janes placed the base on the coast about 78 kilometres north-east of Mogadishu, on a site of roughly seven square kilometres. The same day, Bayraktaroğlu joined President Mohamud at the groundbreaking of a new Somali Navy headquarters.
Ankara says the site will first launch Turkish satellites, with initial readiness targeted for early 2027. Somalia’s position near the equator gives rockets extra velocity, and launches can head out over the Indian Ocean. Analysts note that the same sea range would suit long-range missile tests, a dual use Ankara has not addressed in public. The armour and radar around the compound suggest Türkiye intends to defend it with its own forces rather than rely on Somali troops.

Who Fills the Gap
The test falls first on the SNA. It graduated about 3,000 soldiers in August, its largest class since 1991, but it still depends on foreign air power, artillery and mentoring to hold ground once al-Shabaab is pushed out. The group showed its reach on 26 October, when it claimed to have killed hundreds of Somali soldiers in an ambush near Leego, on the boundary between Lower Shabelle and Bay, using suicide car bombs and explosive-laden drones; the toll has not been independently verified. In an October letter to UNSOS, AUSSOM warned that Uganda’s withdrawal could leave parts of Lower Shabelle exposed, and said AU peacekeepers would take over four bases near Mogadishu during November rotations to close the gap.
Analysts describe what is happening as the bilateralisation of Somalia’s war. Instead of one African Union mission, Mogadishu increasingly relies on a patchwork of national partners: American aircraft, Turkish jets and frigates, Ugandan and Ethiopian troops on bilateral terms, Egyptian forces preparing to deploy, and private trainers from the US contractor Bancroft near the front line. Each brings capability the SNA lacks. Each also brings its own chain of command and its own interests, from Türkiye’s rivalry with the United Arab Emirates and Israel, which recognised Somaliland in December 2025, to the tension between Egypt and Ethiopia.
Things are not dire now, but it could create problems if their troops suddenly pull out.
Ali Omar, Somalia’s State Minister for Foreign Affairs
Holding Lower Shabelle in 2027
The year ahead will decide whether Somalia’s own forces can take over the sectors Uganda has held since 2007. The SNA must absorb Banadir and Lower Shabelle while al-Shabaab tests it with drones and vehicle bombs, and while funding for whatever follows AUSSOM remains unsettled. Türkiye’s mandate now runs to July 2028, its fighters fly from Mogadishu and its launch site rises on the coast. How much of the security burden Ankara is prepared to carry in 2027, and on whose terms, will shape Somalia far more than any decision in New York or Addis Ababa.






