Sharif Sheik Ahmed, the president of the transitional government, appointed Abdiweli Mohamed Ali as prime minister; the Transitional Federal Government controls only a small part of the capital Mogadishu; much of the rest of the country is ruled by clan militias and Islamist insurgents