Tripoli: Here are the key events since the start of the Libya conflict, as rebel forces entered the capital Tripoli:

  1. February 15-19: Inspired by revolts in other Arab countries, including neighbouring Tunisia and Egypt, a rebellion breaks out including in Benghazi, Libya's second city.
  2. March 19: With troops loyal to Libyan leader Muammar Gaddafi threatening rebel-held Benghazi, French, US and British forces launch UN-mandated air attacks and push them back.
  3. March 30: Libyan foreign minister Mousa Kussa defects. Dozens of political and military figures follow suit.
  4. March 31: The North Atlantic Treaty Organisation takes over formal command of the military operation.
  5. April 20: France and Italy join Britain in sending military advisers to assist the rebels.
  6. May 1: Gaddafi escapes a NATO air strike, which the regime says kills his youngest son, Saif Al Arab, and three grandchildren.
  7. June 1: NATO says the operation, originally due to wind up at the end of June, will continue until the end of September.
  8. June 9: An International Contact Group on Libya meets in Abu Dhabi, and finalises a fund aimed at helping the rebels.
  9. June 20-21: Gaddafi's regime says 24 civilians have been killed in NATO air strikes.
  10. June 27: The International Criminal Court (ICC) issues an arrest warrant for Kadhafi for war crimes and crimes against humanity.
  11. June 29: France says it has air-dropped weapons to rebel forces.
  12. July 14: The rebels consolidate their positions in the west, and begin an offensive on the oil town of Brega. NATO dismisses accusations that its attacks have killed more than 1,100 civilians.
  13. July 15: In Istanbul, the Contact Group designates the rebels as Libya's legitimate rulers, paving the way for the release of frozen Gaddafi regime assets.
  14. July 25: NATO says it supported rebels by hitting a military facility, armoured vehicles, tanks and light military vehicles around Brega.
  15. July 28: Rebel military chief General Abdel Fatah Yunis is assassinated as insurgent fighters pound forces loyal to Kadhafi in the west.
  16. August 5: The regime denies the death of Gaddafi's son Khamis in a NATO raid, as announced by rebels.
  17. August 6: The western town of Bir al-Ghanam falls to the rebels.
  18. August 8: Rebel leader Mustafa Abdel Jalil sacks the entire executive office of his government.
  19. August 9: Libyan authorities accuse NATO of a "massacre" of 85 villagers in air strikes south of Zliten in western Libya. NATO insists it has no evidence of the civilian deaths.
  20. August 10: EU widens sanctions against the regime.
  21. August 15: Rebels say they have seized "most" of Zawiyah, the final hurdle on the road to Tripoli as Kadhafi calls the insurgents "rats" and predicts their demise. The UN chief's special envoy visits Tunis for talks on Libya's future. Gaddafi's deputy interior minister flies out to Cairo.
  22. August 20: Fighting erupts in Tripoli as rebels close in on the capital after claiming the oil city of Brega, a day after seizing Zawiyah and Zliten.
  23. August 21: Libyan rebels enter Tripoli from the west, greeted by cheering crowds, witnesses say, and launch an offensive. Gaddafi vows he will not surrender and boasts he will "emerge victorious" in the battle for the capital. NATO says the regime is "crumbling," while the ICC says Gaddafi's son Seif al-Islam is in custody. Senior rebel figure Mahmud Jibril warns there are still pockets of resistance in and around Tripoli, while urging insurgents to act responsibly and avoid taking vengeance.
  24. August 22: US President Barack Obama says the Libyan "tyrant" must leave now to avoid further bloodshed while calling on the rebels to respect human rights, show leadership, preserve the institutions of the state and move towards democracy.