Libyan Civil War: National Transitional Council rebel forces capture ousted Libyan dictator Muammar Gaddafi in his hometown of Sirte and kill him shortly thereafter.

Muammar Gaddafi, the deposed leader of Libya, was captured and killed on 20 October 2011 after the Battle of Sirte. Gaddafi was found west of Sirte after his convoys were attacked by NATO aircraft. He was then captured by National Transitional Council (NTC) forces and was killed shortly afterwards.The NTC initially claimed Gaddafi died from injuries sustained in a shootout when loyalist forces attempted to free him, although a graphic video of his last moments shows rebel fighters beating him and one of them sodomizing him with a bayonet before he was shot several times.The killing of Gaddafi was criticized as a violation of international law. Amnesty International and Human Rights Watch called for an independent autopsy and an investigation into how Gaddafi died.

The First Libyan Civil War was an armed conflict in 2011 in the North African country of Libya which was fought between forces which were loyal to Colonel Muammar Gaddafi and rebel groups that were seeking to oust his government. It erupted with the Libyan Revolution, also known as the 17 February Revolution. The war was preceded by protests in Zawiya on 8 August 2009 and finally ignited by protests in Benghazi beginning on Tuesday, 15 February 2011, which led to clashes with security forces that fired on the crowd. The protests escalated into a rebellion that spread across the country, with the forces opposing Gaddafi establishing an interim governing body, the National Transitional Council.

The United Nations Security Council passed an initial resolution on 26 February, freezing the assets of Gaddafi and his inner circle and restricting their travel, and referred the matter to the International Criminal Court for investigation. In early March, Gaddafi's forces rallied, pushed eastwards and re-took several coastal cities before reaching Benghazi. A further UN resolution authorised member states to establish and enforce a no-fly zone over Libya, and to use "all necessary measures" to prevent attacks on civilians, which turned into a bombing campaign by the forces of NATO against Libyan military installations and vehicles. The Gaddafi government then announced a ceasefire, but fighting and bombing continued. Throughout the conflict, rebels rejected government offers of a ceasefire and efforts by the African Union to end the fighting because the plans set forth did not include the removal of Gaddafi.In August, rebel forces launched an offensive on the government-held coast of Libya, backed by a wide-reaching NATO bombing campaign, taking back territory lost months before and ultimately capturing the capital city of Tripoli, while Gaddafi evaded capture and loyalists engaged in a rearguard campaign. On 16 September 2011, the National Transitional Council was recognised by the United Nations as the legal representative of Libya, replacing the Gaddafi government. Muammar Gaddafi evaded capture until 20 October 2011, when he was captured and killed in Sirte. The National Transitional Council declared "the liberation of Libya" and the official end of the war on 23 October 2011.In the aftermath of the civil war, a low-level insurgency by former Gaddafi loyalists continued. There have been various disagreements and strife between local militia and tribes, including fighting on 23 January 2012 in the former Gaddafi stronghold of Bani Walid, leading to an alternative town council being established and later recognized by the National Transitional Council (NTC). A much greater issue has been the role of militias which fought in the civil war and their role in the new Libya. Some have refused to disarm, and cooperation with the NTC has been strained, leading to demonstrations against militias and government action to disband such groups or integrate them into the Libyan military. These unresolved issues led directly to a second civil war in Libya.