MOGADISHU - Al-Shabaab fighters raided an African Union military base housing Ugandan troops in Somalia on Friday, triggering a fierce gun battle.
It was not immediately known if there were any casualties in the attack, which was claimed by the Al-Qaeda-linked jihadist group.
A car laden with explosives was driven into the base in Bulo Marer, 120 kilometres (75 miles) southwest of the capital Mogadishu, leading to a gunfight, local residents and a Somali military commander told AFP.
Pro-government forces backed by the AU force known as ATMIS launched an offensive last August against Al-Shabaab, which has been waging an insurgency in the fragile Horn of Africa nation for more than 15 years.
ATMIS said the Bulo Marer camp came under attack at 5 am (0200 GMT) by Al-Shabaab militants "using Vehicle Borne Improvised Explosive Devices (VBIEDs) and suicide bombers".
"Reinforcements from ATMIS' Aviation Unit and allies managed to destroy weapons in possession of the withdrawing Al-Shabaab militants," it said in a statement.
The attack targeted Ugandan soldiers stationed in Somalia as part of ATMIS, Uganda Peoples' Defence Forces spokesman Felix Kulayigye said in a statement, adding that the military was "cross-checking" details.
The 20,000-strong ATMIS force has a more offensive remit than its predecessor known as AMISOM.
The force is drawn from Uganda, Burundi, Djibouti, Ethiopia and Kenya, with troops deployed in southern and central Somalia.
Its goal is to hand over security responsibilities to Somalia's army and police by 2024.
Al-Shabaab claimed via its communication channels that it had overrun the base and that it had inflicted a large number of casualties.
But Somali military commander Mohamed Yerow Hassan said the attackers had been repelled and the "situation is back to normal now."
"The terrorists were forced to retreat and flee," Hassan told AFP by telephone.
Al-Shabaab is known to exaggerate claims of battlefield gains in propaganda, while the governments of nations contributing troops to the AU force rarely confirm casualties.
Attacks on army bases in isolated parts of Somalia are difficult to independently verify.
Condemning the attack, the United States underlined its commitment to "Somali and African Union partners" while commending "the bravery and sacrifice" of those on the ground, State Department spokesman Matthew Miller said.
ATMIS said that "everything is being done to bring the situation under control".