As a result of the 2011–2012 Yemeni uprising, the constitution of Yemen was rewritten. New elections were to be held in 2014. Some areas are controlled by armed militant groups. On 23 January 2015, the President, Prime Minister and Cabinet resigned. War continued, with Saudi Arabia and Iran supporting different sides.