Somali President Mohamed Abdullahi Mohamed will no longer seek a two-year extension to his term in office after it provoked three days of clashes in the capital.

Forces loyal to the president and those backing the opposition have been occupying different parts of the capital, Mogadishu.

The UN says between 60,000 and 100,000 people have left their homes since Sunday due to the violent clashes.