Moreover, the rebels have been dislodged from the southern Somali port of Kismayo, which was once their main base. But al-Shabaab retains control of the majority of Somalia and remains capable of striking Mogadishu, the capital, as well as Nairobi.