 On 14 October 2010, Mohamed was appointed the new Prime Minister of Somalia.He replaced Omar Abdirashid Ali Sharmarke, who resigned the month before following a protracted dispute with the President.Lawmakers overwhelmingly approved Mohamed's appointment on 31 October 2010.