The aftermath of the Libyan Civil War has been characterized by marked change in the social and political order of Libya after the overthrow and killing of Muammar Gaddafi in the Libyan Civil War. The country has been subject to ongoing proliferation of weapons, Islamic insurgencies, sectarian violence, and lawlessness, with spillovers affecting neighboring countries including Mali.
After the interim National Transitional Council (NTC) declared that the country had been liberated in October 2011, it began a process to form a new government, prepare for elections and prosecute former Gaddafi officials. In the absence of an organized military, armed militias of former rebels continued to assert their role as "guardians of the revolution" around the country, and there were reports of vigilante justice and sporadic clashes between rival militias. International organizations voiced concerns over the proliferation of weapons in the region, and the risk that they might fall into the hands of militant Islamists.
Elections were held in July 2012 to a General National Congress (GNC), which took power a month later, charged with organising a constituent assembly for authoring Libya's new constitution. The NTC was formally dissolved, and in November 2012 Ali Zeidan was sworn in as Prime Minister. In March 2014, Zeidan was ousted by the GNC, amid escalating conflict in the country. On 4 August 2014, the GNC was replaced by a newly elected Council of Deputies (CoD), but on 25 August 2014, some members of the former GNC reconvened unilaterally and said they had elected Omar al-Hasi as Prime Minister, effectively leaving the country with two rival governments: the one proclaimed by the CoD in Tobruk and the one proclaimed by the claimant GNC in Tripoli.