The Yemeni Crisis began with the 2011–12 revolution against President Ali Abdullah Saleh, who had led Yemen for more than two decades. After Saleh left office in early 2012 as part of a mediated agreement between the Yemeni government and opposition groups, the government led by Saleh's former vice president, Abd Rabbuh Mansur Hadi, struggled to unite the fractious political landscape of the country and fend off threats both from Al Qaeda in the Arabian Peninsula and Houthi militants that had been waging a protracted insurgency in the north for years. In 2014, Houthi fighters swept into the capital of Sana'a and forced Hadi to negotiate a "unity government" with other political factions. The rebels continued to apply pressure on the weakened government until, after his presidential palace and private residence came under attack from the militant group, Hadi resigned along with his ministers in January 2015. The following month, the Houthis declared themselves in control of the government, dissolving Parliament and installing an interim Revolutionary Committee led by Mohammed Ali al-Houthi, a cousin of Houthi leader Abdul-Malik al-Houthi. However, Hadi escaped to Aden, where he declared he remains Yemen's legitimate president, proclaimed the country's temporary capital, and called on loyal government officials and members of the military to rally to him.