The Battle of Tripoli (Arabic: معركة طرابلس‎‎ maʻarakat Ṭarābulis) was a military confrontation in Tripoli, Libya, between loyalists of Muammar Gaddafi, the longtime leader of Libya, and the National Transitional Council, which was attempting to overthrow Gaddafi and take control of the capital. The battle began on 20 August 2011, six months after the Libyan Civil War started, with an uprising within the city; rebel forces outside the city planned an offensive to link up with elements within Tripoli, and eventually take control of the nation's capital.

Tripoli was the scene of major clashes and a failed uprising in February 2011. Protesters filled Green Square (since renamed Martyrs' Square by the former rebels[14][15][16]), and set fire to the People's Hall of the General People's Congress. Fighting was especially fierce in the city's eastern Tajura district, but loyalist forces were able to crush the uprising, with many casualties on both sides. Loyalists shut down the internet thus cutting access to social networks structuring the opposition, while the extensive design of Tripoli did not allow protests to reach critical mass.[17] The opposition was largely weakened, with supporters being unable to connect anonymously and fearing repression, so active members set up meetings to restructure the local opposition.[17] Several loyalists organizing the crackdown were actually double agents, informing rebels of governmental moves and future arrest attempts.[17] Further attempts at protests took place over the next few months with little success. Residents stated that a nighttime guerrilla war was taking place in the streets of Tripoli, as armed rebels reportedly started to control many of the smaller streets in rebel-sympathizing districts.[18]

Beginning on 13 August, a Libyan rebel offensive from the Nafusa Mountains broke into the Tripolitanian coast; after heavy fighting, the cities of Sorman, Sabratha and Zawiya were taken on the coast, cutting off loyalist forces from the Tunisian border, and isolating their positions in Zuwara – a city that had already rebelled in February, only to have the uprising put down. Meanwhile, a second rebel offensive took the city of Gharyan, the gateway of the Nafusa Mountains, blocking the road between Tripoli and the loyalist city of Sabha in far southern Libya. Further rebel successes threatened to isolate the loyalist stronghold of Sirte, and took the city of Zliten east of Tripoli. The combined result of these offensives isolated loyalist forces in Tripoli, with rebel forces less than 30 kilometres (20 miles) away. The rebel leadership stated that they selected the date of the assault to be the twentieth day of the Muslim holy month of Ramadan, marking the anniversary of the ancient conquest of Mecca.[19]

The combined assault on Tripoli was reportedly organized by rebels when it became clear that there would be no successful spontaneous uprising in the capital.[20] According to rebel sources, weapons were smuggled by tugboat into Tripoli during the evening.[21]

From the beginning of the battle on, there was a huge wave of recognitions by foreign governments of the NTC as the legitimate representative of the Libyan people. Before 20 August, 34 countries had recognized the NTC, by the end of 28 August, 69 had.[citation needed]

Rebel forces within Zawiya fought for control of a strategic bridge on the road to Tripoli, 27 kilometres (17 miles) from the capital. They planned for a major offensive on Tripoli that would take place on the following day.[22]

At just after 8:00pm, the uprising within Tripoli began when a group of rebels took over the Ben Nabi Mosque,[23] and began calling the signal of Iftar (إفطار) – the moment Muslims observing Ramadan break their evening fast.[24] Prominent opposition members confirmed that the rebels had been shipping weapons into Tripoli for several weeks, in preparation for this uprising. The centre of the uprising was said to be Ben Nabi Mosque in the city centre, when young men gathered there; prayers were cancelled and women sent home, while the men began shouting anti-Gaddafi slogans, using the loudspeakers to broadcast their chants across the city. Loyalist forces arrived and attempted to assault the mosque, but were driven back by armed residents, taking refuge in the state TV centre nearby.[25] Tripoli residents barricaded their streets and districts with burning tires, joining up with other anti-government opponents.[26] The uprisings quickly spread through Tripoli, notably the neighbourhoods of Fashloum, Souq al-Juma, Tajura and Ben Ashur, and continued throughout the rest of the city.[27] That night, heavy fighting was reported in the neighbourhoods of Suq al Jum'a,Arrada street and 20th of Ramdan street (formerly known as 11 June Street),[28] while anti-Gaddafi locals closed off the major Alsika street.

During the night, rebels reportedly captured the Tripoli International Airport, as well as a weapons depot inside the capital.[29] Tripoli residents received text messages from the government, asking them to go out onto the street and 'eliminate the armed agents'.[30] Heavy fighting within the capital was confirmed by reporters within the city, who heard explosions and sustained gunfire.[31]

Initially, a governmental spokesman stated that all was safe and well within the city, and that loyalist forces remained in control of Tripoli.[32] Later, he stated that "armed militants" had "escaped into some neighbourhoods", causing "a few scuffles", but the governmental forces "dealt with it within a half hour, and it is now calm."[21]

A group of students of the Fateh University who were sympathetic to the rebellion rose up against the armed guards that patrolled the perimeter and the snipers in the taller buildings and seized control of the university during the night.[33]

Rebel forces began advancing east from Zawiya towards Tripoli; they took the town of Joudaim, east of Zawiya, meeting only light resistance from loyalist forces.[34][35] Next, the town of Al Maya just west of Tripoli was taken.[13] Just outside Tripoli, the headquarters of the elite Khamis Brigade was captured by the rebels, who faced only light resistance.[7]

Boats from Misrata and Zliten carrying rebel forces and arms landed in Tripoli in the early morning, joining rebels within the city in the fight.[36] Following the rebel amphibious landing, they advanced towards the Mitiga airbase.[37]

Al Arabiya and Al Jazeera both reported that the uprising continued as of the early morning; many rebels were reported dead in the district of Qadah, while the Mitiga International Airport was reportedly surrounded by rebel forces, who attempted to obtain its surrender.[38][39] The entire Tajura district was captured by rebel forces, while fighting in Suk al-Juma, Araba district and Mitiga International Airport continued.[40] A rebel representative stated that the operation was "going easily", with the end target being Gaddafi's Bab al-Azizia compound.[41]

A resident speaking to Al Jazeera from Tajura in Tripoli said that about 450 prisoners in poor health were freed from a military base after locals took control of the area and pushed out Gaddafi forces, who were shelling the neighbourhood.[7]

By the afternoon, resident rebels had fully taken control of Tajura, Suq al-Jumaa, Arada, and al-Sabaa neighbourhoods in Tripoli. Fighting was still ongoing in the Ben Ashhour, Fashloom, and Zawiyat al-Dahmani neighbourhoods in Tripoli; the rebels also controlled large portions of the Fashloom, Zawiyat al-Dahmani, and Mansura districts.[42] They also took control of a Tripoli mobile-telephone company.[43]

Rebel forces advancing from Zawiya entered the Janzur suburb of Tripoli during the evening, seemingly facing no resistance as they passed through the western suburbs headed for the city centre, greeted by cheering crowds waving the rebels tricolour flag.[34][44]

Shortly after taking Janzur, rebels from the Tripoli Brigade took control of the Gheryan bridge, considered the western entrance to Tripoli proper, and entered the Syhia district and began clearing it. They took Hay al Andalus area shortly after and immediately advanced into the Gergraish area of Central Tripoli.[45]

In a night-time press conference, governmental spokesman Moussa Ibrahim stated that there were an estimated 1,300 killed and 5,000 wounded in the Battle for Tripoli; he blamed the death toll on NATO.[46]

Civilians were reportedly celebrating in Tripoli's streets as rebel forces entered the city with little resistance.[34] A senior rebel official, Fathi al-Baja, told the Associated Press that one of the reasons for his group's rapid advance was that Mohammed Eshkal, the head of Mohammed Megrayef Brigade which was assigned to defend the city, was sympathetic to the rebels since the regime had killed his cousin years earlier, such that when rebels reached the gates of Tripoli, the battalion promptly surrendered, allowing the rebels to sweep into the capital with relative ease, facing little resistance.[23][47][48]

On 21 August, the NTC chairman claimed that Saif al-Islam Gaddafi had been captured[49][50] and the UK representative of the NTC repeated the claim[51] to the satisfaction of the International Criminal Court which stated that they would be contacting the NTC to make arrangements for him to be handed over, so that he may face trial for crimes against humanity.[52][53] However, early on 23 August, Saif al-Islam appeared to be quite obviously not in rebel custody as he appeared at the Rixos Al Nasr hotel where several foreign journalists were located and offered to give reporters a tour of loyalist-controlled areas.[54]

Al Jazeera also reported in its video that Muhammad Gaddafi, Muammar Gaddafi's oldest son, had handed himself over to rebel forces.[55] Later, it was reported that he had not voluntarily surrendered himself, and one rebel was killed while capturing him.[56] Al Jazeera confirmed the capture, and interviewed Muhammad; he took an apologetic tone, and blamed what caused the revolution as lack of wisdom.[57] However, it was reported later that Muhammad escaped from house arrest the next day with the aid of loyalist forces.[58]

When the Libyana telephone company building was taken by the Tripoli Brigade, they sent out the following text message to the people of Tripoli :"God is Great , We congratulate the people of Libya on the fall of Gaddafi regime".[59]

By 1:00 a.m. Tripoli time, rebels stated that 90 percent of Tripoli had been captured, including Green Square in central Tripoli.[60] Al Jazeera and the BBC News, among other news stations, all reported and confirmed that opposition fighters had entered Green Square.[61]

In the morning, Agence France-Presse reported that fighting was ongoing near Gaddafi's compound and in the south of the city. A rebel commander said that the loyalists still controlled 15 to 20 percent of the city. Initially one, then multiple tanks left the Gaddafi residence, and began shelling areas of Tripoli.[62] Heavy fighting continued around the Rixos Al Nasr hotel, which housed foreign journalists in Tripoli and remained a government stronghold.[62] Journalists were not allowed to leave the hotel by government forces and were described as being used as a "human shield".[63]

An independent Libyan news channel reported some looting at the expatriate Palm City village, just outside Tripoli, but this could not be confirmed.[65] Fighting continued around the Gaddafi compound and near the port, with loyalists using tanks to defend the area.[66]

Libyan state television channels went off air by the afternoon, and rebels were in control of the state TV building.[67]

The situation in Tripoli was confused, but loyalist forces were definitively known to remain in control of Bab al-Azizia, the Rixos Al Nasr hotel, a hospital in Tajura,[68] and part of the port.[69] The situation at the Mitiga International Airport was unclear, though many news organizations reported that rebels had taken it.[67]

During the afternoon, rebels pulled back from an area near Green Square, in what they claim was a plan to launch a coordinated offensive elsewhere. Rebel forces in Tajura said they were negotiating with loyalist forces, holed up in the local hospital, to surrender.[70]

In the evening, rebel forces who were fighting in the western part of Tripoli were pushed back.[71] Also, reports surfaced that Muhammad Gaddafi managed to escape house arrest with the help of loyalist fighters.[58]

In the night of 22 August, a rebel said that he expected a hard fight for Gaddafi's compound, confirmed Muhammad Gaddafi's escape and said that rebels were establishing checkpoints at the entrances of Tripoli.[72]

Misrata's local military council said they sent several ships "with a large number of fighters and ammunition on board" as reinforcements to Tripoli.[73]

The location of Muammar Gaddafi was unclear on 22 August; it was thought that he could still have been staying in Tripoli, surrounded by remaining forces in his Bab al-Azizia compound, but this was yet to be determined.[74] Another report had him in the Tajura cardiac hospital.[75] Al Jazeera reported that Muammar Gaddafi allegedly had successfully resisted an attempt to arrest him at the hospital.[76]

Mutassim Gaddafi was allegedly remaining in the Bab al-Azizia compound directing the remaining defences,[77][78] while Khamis Gaddafi (who had earlier been rumored killed in an airstrike at Zliten) was reported to be leading loyalist tank forces in a counterattack against central Tripoli, in an attempt to relieve the siege of Bab al-Azizia.[79]

Al Arabiya reported that a third Gaddafi son, Al-Saadi Gaddafi, had been captured by the rebels, citing the head of the NTC.[80] He had been reported captured as well the previous day, so it was unclear when and where the capture took place.[81]

On 22 August, two charred bodies were found in Tripoli that Al Jazeera suggested could be the bodies of Khamis and Muammar Gaddafi's brother-in-law Abdullah Senussi.[82] However, it was later found that both men had escaped the battle.

Very early in the morning, CNN reporter Matthew Chance reported that he had seen and spoken to Saif al-Islam Gaddafi in a convoy of armoured Land Cruisers near the Rixos Al Nasr hotel.[83] Al Arabiya reported via Le Figaro that a rebel confirmed that Saif had been captured, but then escaped.[84] The rebels later confirmed that Saif had been in their custody, but escaped in the chaos of the situation.[85] Saif claimed the people of Libya were behind him and his father, that NATO had jammed loyalist communications, including state TV and that "gangs of saboteurs" had been smuggled into Tripoli via civilians cars and boats. Saif was seen amongst Gaddafi supporters handing out weapons to them outside the Bab al-Azizia compound and being organised in "street brigades" to fight the rebels.[86]

It was reported that the port area and surroundings were now under rebel control, though the time and circumstances of capture was unclear.[67]

By the afternoon, Al Jazeera correspondent Zeina Khodr confirmed that rebels were in control of Green Square, now renamed Martyrs' Square by the rebels. She said that heavy clashes were taking place in Mansura, and that rebels had advanced within 500 metres (1,600 feet) from Bab al-Azizia.[87]

The assault on Bab al-Azizia soon began. The Guardian described the attack as preceded by heavy bombardment of mortars, rockets, and small arms fire. Later in the afternoon, rebels assaulted and took a gate of Bab al-Azizia. Loyalist forces attempted to defend the compound for some time, but their resistance later ended, with rebels pouring into the compound and firing into the air in celebration.[87] Rebels stormed Gaddafi's personal residence, and hoisted their flag above it.[88] Al Arabiya confirmed that the rebel flag was above the house.[89] Reporters were shown stacks of official documents including Gaddafi's personal medical files as additional proof. Further reports showed Gaddafi's hat and golf-cart retrieved from the compound.[90] No information on Gaddafi's or his family's whereabouts were reported from the captured compound.[91] Gaddafi spoke in a radio address afterwards, claiming that the loss of Bab al-Azizia was only a "tactical move".[92] It was also confirmed that Qatari special forces participated in the assault on Gaddafi's compound.[93] Rebels that stormed the compound found one of Gaddafi's golf carts smashed against a wall, leading them to believe he had used it to flee the attack on the compound to another part of the city.[94]

In the evening, a rebel spokesman claimed that rebel fighters were able to secure the Abu Salim district, which was known to have relatively strong loyalist sentiment.[95] However, later, it was found that the rebel claim was untrue and loyalist forces were still in control of the district. Meanwhile, fighting at Bab al-Azizia restarted as loyalist forces bombarded their former stronghold with mortars and gunfire. International journalists pulled back from the base and one Al Jazeera journalist was wounded.[96]

Following the assault on Gaddafi's compound France 24 TV reported that the Tripoli Brigade had sixty men killed in Tripoli during the previous 48 hours.[97]

Around noon, there were reports of fighting within the inner sanctum of the Bab al-Azizia compound, as snipers reportedly hiding in trees in the recreational area of the compound were still present.[98] The rebels, meeting fierce resistance, continued to use heavy weaponry to expose loyalists and destroy fortifications in the centre of the compound.[99] At one point, the rebels were pushed back from the centre of the complex to the outer wall.[100] Fighting was also reported from the Rixos Al Nasr hotel area. Reporters from inside the hotel reported that Gaddafi loyalists prevented them from leaving the compound, effectively taking them hostage amid gunfire from snipers and dwindling food supplies[101][102][103] Fighting was also continuing in the Abu Salim district, which the rebels claimed to have captured the previous day,[104] and later it was reported that loyalists were still in control of the area, as well as the al-Hadhba district.[105]

Around 5 p.m., Tripoli time, all foreign reporters and staff that had been restricted to within the Rixos Al Nasr hotel were able to leave the compound in four vans of the Red Cross.[106] Italy also reported that four Italian reporters were kidnapped near Zawiya.[99]

It was confirmed that rebel forces had been in full control of Tripoli International Airport for four days, and that Gaddafi's personal planes were still on the ground. Despite the airport being secure, clashes were still ongoing on the road near the airport.[107]

The NTC announced full amnesty to anyone close to Gaddafi who killed or captured him. A businessman also offered a $1.67 million reward.[99]

Rebel fighters and armed residents continued to create and staff checkpoints. Lawlessness was avoided and celebration continued in Green Square.[99]

Al-Saadi Gaddafi contacted CNN, stating that he had the authority to negotiate on behalf of loyalist forces, and wished to discuss a ceasefire with US and NATO authorities. This appeared to contradict earlier rebel claims of his capture.[108]

Rebels stated that they had nearly captured Gaddafi when they raided a private house and found evidence that he had spent at least a night there previously.[109] They also besieged a compound where they believed him to be hiding, though they did not explain the reasons for the belief.[110] Opposition forces were also still trying to fight their way into the Abu Salim and Al Hadba al Khadra areas, where loyalists were still in control.[111][112]

It was also reported that Gaddafi loyalists destroyed a Libyan Airlines passenger plane that was parked at Tripoli International Airport.[113] Meanwhile, sporadic-yet-heavy artillery fire occurred at the airport when rebels tried to take control of a highway leading from the airport to Tripoli.[113] CNN reported a "fierce firefight in one corner of Muammar Gaddafi's compound" at about 2:00 local time.[113]

Reuters reported that rebels stormed the Abu Salim district after a NATO airstrike.[114]

At Khilit al-Ferjan and Qasr bin Ghashir, two loyalist camps in the Tripoli area, loyalists killed "numerous detainees", according to eyewitnesses. Grenades and gunfire were used on a large group of prisoners after about 160 escaped from a metal hangar.[115]

At this time, Muammar Gaddafi held a meeting with his son Khamis and daughter Ayesha at a military compound in the city, following which they all left Tripoli in two heavily guarded convoys towards Sabha. Ayesha later continued to the Algerian border along with her mother and two brothers. Khamis was reported, by the rebels, to had been killed in a NATO air-strike on 29 August, while traveling to Bani Walid, but there was no independent confirmation of this and NATO stated they had no information on his fate.[116]

During the night, rebel forces were able to secure Qasr bin Ghashir, a village near Tripoli International Airport. They also claimed that the loyalist-held area in greater Tripoli had been reduced to just one compound.[117]

In the final actions of the battle, NLA forces launched an attack on the last remaining loyalist base in Salaheddin, a suburb 5 kilometres (3.1 miles) south of Tripoli and took it after seven hours of fighting.[118]

In the weeks following the battle, the rebels' plans to take Tripoli were revealed. The National Transitional Council had been in contact with rebel cells inside Tripoli, including employees of the Gaddafi government sympathetic to the oppositions cause. Officers within Gaddafi's military and intelligence services gathered data on memory cards and sent them back to the NTC in Benghazi. The data contained invaluable information on the state of the regime, as well as the numbers of people working in various facilities and the military capabilities of loyalist forces based in Tripoli. The plan was reportedly two months in the making.

When rebel forces advanced into Tripoli on the night of 21 August, General al-Barani Ashkal, commander of loyalist forces at Gaddafi's compound, as well as other senior military officers, at least 72, who were secretly sympathetic to the rebels, but had been asked to remain undercover by the NTC, ordered soldiers under their command to disperse, abandoned their posts and allowed the rebels to enter the city almost entirely unopposed, in line with agreements made secretly between them and the NTC.[119]

The plan was discussed between the NTC and the French government, and rebels drew up a list of over 120 targets for NATO to strike, although the actual number of targets struck was much lower. Memory cards containing information on loyalist command and control centres and other regime military and intelligence facilities were supplied to NATO by rebel cells in Tripoli. The NTC assigned 2,000 armed men to go into Tripoli and 6,000 unarmed to go out onto the streets in the uprising that was to occur the day before the assault on the city from the western outskirts. Communications equipment was supplied to rebel cells within Tripoli by British and Qatari authorities to allow them to communicate with the NTC as well as rebel forces in other areas.

The trigger for the uprising, the so-called "Zero Hour", was the speech by NTC chairman Mustafa Abdul Jalil in which he said that the noose is tightening around Gaddafi. Attacks on command and control centres by rebel cells in the city followed, and citizens sympathetic to the rebels barricaded streets and sealed off their neighbourhoods from loyalist forces.

Arms that had been smuggled into the city were distributed by anti-Gaddafi activists in refuse collection trucks the morning before the uprising.[120]

Rebel forces advanced eastwards from Zawiya and entered Tripoli through the Janzur suburb, defeating the Khamis Brigade at its HQ in Al Maya before entering Tripoli proper. Rebels from Misrata landed by sea in the north to support the rebellion already taking place in the city. Rebels hacked into Gaddafi loyalists communications, hearing them panicking due to the swift rebel advance into the city.[6]