The Libyan civil war, also referred to as the Libyan revolution was a 2011 armed conflict inthe North African state of Libya, fought between forces loyal to Colonel Muammar Gaddafi andthose seeking to ousthis government.The popular uprising against the government of Gaddafi began in January 2011 as non-violentprotests, simultaneouslywith other protests in the Arab Spring. Within weeks, violence broke out in clashes betweenpolice and protesters. InFebruary, the National Transitional Council (NTC) was formed in an effort to consolidate effortsfor change in the rule ofLibya. Gaddafi forces lost control of several cities in eastern Libya, and a number ofofficials resigned or defectedfrom his government. In March, Gaddafi forces launched a counteroffensive, and regainedmany of the cities that hadbeen lost to opposition forces.Throughout the conflict, rebels rejected government offers of a ceasefire and efforts bythe African Union to end the fighting because the plans set forth did not include the removal ofGaddafi.In Bayda and Zintan, hundreds of protesters in each town called for an end to the Gaddafigovernment and set fire to police and security buildings. In Zintan, the protesters setup tents in the town centre. The armed protests continued the following day inBenghazi, Derna and Bayda. Hundreds gathered at Maydan al-Shajara in Benghazi, andauthorities tried to disperse protesters with water cannons.Protesters torched a number of government buildings, including a police station.  In Tripoli, television and public radio stations had been sacked, and protesters set fire tosecurity buildings, Revolutionary Committee offices, the interior ministry building, andthe Peoples Hall.On 18 February, police and army personnel later withdrew from Benghazi after beingoverwhelmed by protesters.In August, rebel forces launched an offensive on the government-held coast of Libya, takingback territory lost months before and ultimately capturing the capital city of Tripoli. On 16
September 2011, the National Transitional Council was recognised by the United Nations as thelegal representative of Libya, replacing the Gaddafi government. Muammar Gaddafi remainedat large until 20 October 2011, when he was captured and killed attempting to escapefrom Sirte. The National Transitional Council "declared the liberation of Libya" and theofficial end of the war on 23 October 2011.Amidst the aftermath of the civil war, a low-level insurgency by former Gaddafi loyalists stillcontinued. There have been various disagreements and strife between local militia and tribes,including 23 January 2012 fighting in the former Gaddafi stronghold of Bani Walid, leading to analternative town council being established and later recognized by the NTC.