A Somali soldier stands guard at a market in Afgoye, a town west of the Mogadishu where Ugandan and Burundian wrested control from al-Shabab troops in late May. The Islamist rebels had used the area to control traffic in and out of the capital and extort money from anyone who wanted to enter or leave.

A Somali soldier stands guard at a market in Afgoye, a town west of the Mogadishu where Ugandan and Burundian wrested control from al-Shabab troops in late May. The Islamist rebels had used the area to control traffic in and out of the capital and extort money from anyone who wanted to enter or leave.