Other clashes erupted in the south of the war-ravaged Somali capital.
â€œThe violent elements serving al-Qaeda tried to advance to the government controlled areas on Tuesday but they were moved back this afternoon and there are many of their dead fighters lying around the positions they fled,â€ government security official Mohamed Adan said.
Adan said three of their soldiers were killed and seven wounded. Witnesses in Mogadishuâ€™s southern Hodan district said some of the injured were still trapped inside their houses amid the clashes.
Mogadishu has been gripped by heavy fighting in recent weeks as al-Shabaab intensified a drive to oust the Western-backed Somali government. Both the al-Qaeda-inspired al-Shabaab and the African Union mission in Somalia claimed to have the upper hand, two weeks after fighting intensified when the insurgents announced another push to topple the government. On Tuesday, AMISOM spokesman Bahoku Barigye denied claims by the Islamists that the insurgents had re-captured any positions.
â€œThere are no positions taken by the terrorists. Over the last several days, our forces have created many positions... For us, we are winning this war,â€ said Barigye.
AMISOM says it currently has 7,200 troops deployed in Mogadishu and claimed last week it had been steadily increasing its area of control in the Somali capital.
The United Nationsâ€™s refugee agency said on Tuesday that at least 230 civilians had been killed and 23,000 displaced by the fighting in Mogadishu over the past two weeks.
AU attacks al-Shabaab in Mogadishu