"The AMISOM Halane base camp, close to Mogadishu International Airport was today infiltrated by Al Shabaab elements… During the gun fight, three AMISOM soldiers and a civilian contractor unfortunately lost their lives," AMISOM reported.
The mission has regained control over the base and claimed that all personnel is safe at the moment.
Several gunmen attacked the African Union mission's base in the capital city earlier in the day. Al-Shabab claimed responsibility for the attack and stated it was targeting the Christmas party at the base, Al Jazeera reported.
AMISOM is a peacekeeping mission of the African Union that helps to establish security in Somalia and assists the country's government in conducting operations against al-Shabab.
Al-Shabab is an Islamic fundamentalist group, linked with al-Qaeda, that intends to create an Islamic state in Somalia. The group persecutes non-Muslims, advocates strict interpretation of sharia law and attempts to eliminate western influence in the region. It is believed to be behind most of the terrorist attacks in the country.