On 19 June 2011, Mohamed Abdullahi Mohamed resigned from his position as Prime Minister of Somalia as part of the controversial Kampala Accord's conditions. The agreement would also see the mandates of the President, the Parliament Speaker and Deputies extended until August 2012, after which point new elections are to be organized, including a parliamentary vote-based presidential election.[1] Abdiweli Mohamed Ali, Mohamed's former Minister of Planning and International Cooperation, was later named permanent Prime Minister.[48]