The spokesman for the African Union force, Lt. Col. Paddy Ankunda, said Monday that the attacks are meant to push militants from the Al-Shabab militant group out of range of civilians. Ankunda said that 12 civilians were killed Sunday from militant attacks.

Ali Haji, a Mogadishu resident, said he saw Somali soldiers stationed near the fighting. He said residents were fleeing.

Last week Al-Shabab unleashed a suicide attack in Mogadishu that killed more than 100 people. On Sunday thousands of Mogadishu residents held a rare rally to protest the bombing.