Three militants were captured during the Christmas day lunch hour attack on the African Union Mission to Somalia's Halane base camp, the group said in a statement.
AMISOM said the gunmen, some of whom were disguised in Somali army uniforms, breached the base camp and attempted to gain access to critical infrastructure yesterday, during which five of them were killed and three others captured.
Somali extremist group al-Shabab claimed responsibility for the attack and said they were targeting a Christmas party at the base, which also houses Western embassies and UN offices.
At least eight men entered the AU base near the Mogadishu airport, AU Mission in Somalia spokesman Col. Ali Aden Houmed told The Associated Press. He said the base was now calm. "Our forces shot dead three of them, two detonated themselves near a fuel depot," he said.
Also Read
"An investigation is underway on how they entered the base," he said, adding that the attack was launched at a time when people were busy at lunch.
In an audio posted on the militants' website, Al-Shabab spokesman Sheikh Ali Mohamud Rage said the attack on the AU base was carried out in retaliation for the killing of the group's leader Ahmed Abdi Godane in a US airstrike this year.
In the attack, Rage claimed they killed 14 AU soldiers and four foreigners, but the group habitually exaggerates the number of people it kills.
This is not the first time al-Shabab has attacked the African Union. In 2011 al-Shabab gunmen disguised as soldiers attacked an African Union base in Mogadishu sparking a two-hour gunfight that left at least ten people dead.
The attacks underscore the militants' ability to carry out complex and deadly operations frequently even after AU troops forced them from strongholds.
Al-Shabab controlled much of Mogadishu during the years 2007 to 2011, but was pushed out of Somalia's capital city by African Union forces. The militants then also lost control of the port city of Kismayo, crippling one of its major income generators.