information:extraction, structural:scholar_edition, information:classification, stylistic:style_transfer
Origins and development: February–August 2011

Following the start of the Arab Spring in 2011, Gaddafi spoke out in favour of Tunisian President Zine El Abidine Ben Ali, then threatened by the Tunisian Revolution. He suggested that Tunisia's people would be satisfied if Ben Ali introduced a Jamahiriyah system there. Fearing domestic protest, Libya's government implemented preventive measures by reducing food prices, purging the army leadership of potential defectors, and releasing several Islamist prisoners. This proved ineffective, and on 17 February 2011, major protests broke out against Gaddafi's government. Unlike Tunisia or Egypt, Libya was largely religiously homogeneous and had no strong Islamist movement, but there was widespread dissatisfaction with the corruption and entrenched systems of patronage, while unemployment had reached around 30 percent.

Accusing the rebels of being "drugged" and linked to al-Qaeda, Gaddafi proclaimed that he would die a martyr rather than leave Libya. As he announced that the rebels would be "hunted down street by street, house by house and wardrobe by wardrobe", the army opened fire on protesters in Benghazi, killing hundreds. Shocked at the government's response, a number of senior politicians resigned or defected to the protesters' side. The uprising spread quickly through Libya's less economically developed eastern half. By February's end, eastern cities such as Benghazi, Misrata, al-Bayda, and Tobruk were controlled by rebels, and the Benghazi-based National Transitional Council (NTC) formed to represent them.

In the conflict's early months it appeared that Gaddafi's government—with its greater fire-power—would be victorious. Both sides disregarded the laws of war, committing human rights abuses, including arbitrary arrests, torture, extrajudicial executions, and revenge attacks. On 26 February, the United Nations Security Council passed Resolution 1970, suspending Libya from the UN Human Rights Council, implementing sanctions and calling for an International Criminal Court (ICC) investigation into the killing of unarmed civilians. In March, the Security Council declared a no-fly zone to protect the civilian population from aerial bombardment, calling on foreign nations to enforce it; it also specifically prohibited foreign occupation. Ignoring this, Qatar sent hundreds of troops to support the dissidents and, along with France and the United Arab Emirates, provided weaponry and military training to the NTC. NATO announced that it would enforce the no-fly zone. On 30 April a NATO airstrike killed Gaddafi's sixth son and three of his grandsons in Tripoli. This Western military intervention was criticized by various leftist governments, including those that had criticized Gaddafi's response to the protests, because they regarded it as an imperialist attempt to secure control of Libya's resources.

In June, the ICC issued arrest warrants for Gaddafi, his son Saif al-Islam, and his brother-in-law Abdullah Senussi, head of state security, for charges concerning crimes against humanity. That month, Amnesty International published their report, finding that Gaddafi's forces were responsible for numerous war crimes but added that a number of allegations of human rights abuses lacked credible evidence. The report added that "much Western media coverage has from the outset presented a very one-sided view of the logic of events, portraying the protest movement as entirely peaceful and repeatedly suggesting that the regime's security forces were unaccountably massacring unarmed demonstrators". In July, over 30 governments recognized the NTC as the legitimate government of Libya; Gaddafi called on his supporters to "Trample on those recognitions, trample on them under your feet... They are worthless". In August, the Arab League recognized the NTC as "the legitimate representative of the Libyan state".

Aided by NATO air cover, the rebel militia pushed westward, defeating loyalist armies and securing control of the centre of the country. Gaining the support of Amazigh (Berber) communities of the Nafusa Mountains, who had long been persecuted as non-Arabic speakers under Gaddafi, the NTC armies surrounded Gaddafi loyalists in several key areas of western Libya. In August, the rebels seized Zliten and Tripoli, ending the last vestiges of Gaddafist power. It is probable that without the NATO air strikes supporting the rebels, they would not have been able to advance west and Gaddafi's forces would have ultimately retaken control of eastern Libya.