Borders of Time

Libya

Who ruled Tripoli?

Tripoli dates from about 700 BCE. On our historical maps, the ground it stands on has been drawn inside 20 different states, empires and peoples. Read the history of Libya.

Sanadalahlafi · CC BY-SA 4.0 · Wikimedia Commons
Tripoli at night

Tripoli at night

Sanadalahlafi · CC BY-SA 4.0 · Wikimedia Commons

The history of Tripoli

Hear the whole article read aloud
Tripoli Central Business District from Oea Park
Abdul-Jawad Elhusuni (عبدالجواد الحسوني) · CC BY-SA 3.0 · Wikimedia Commons
Tripoli Central Business District from Oea Park

Tripoli Central Business District from Oea Park

Abdul-Jawad Elhusuni (عبدالجواد الحسوني) · CC BY-SA 3.0 · Wikimedia Commons

Tripoli stands on the Mediterranean coast of north-western Libya, where a low rocky headland shelters a natural harbour and a belt of oases supplies water and food. It has been a port for well over two and a half thousand years. Much of its history is the story of outsiders who wanted that harbour, from Phoenician merchants and Roman governors to Arab armies, Spanish knights, Ottoman pashas, corsairs and Italian colonists. Since 1951 it has been the capital of an independent Libya.

From Oea to the Ottomans

طرابلس ليبيا كنيسة مريم العذراء
Abdulfatah Amr · CC BY-SA 4.0 · Wikimedia Commons
طرابلس ليبيا كنيسة مريم العذراء

طرابلس ليبيا كنيسة مريم العذراء

Abdulfatah Amr · CC BY-SA 4.0 · Wikimedia Commons

The city began as Oea, a trading post set up by Phoenicians, probably in the 7th century BCE. It later came within the orbit of Carthage, together with the nearby towns of Sabratha and Leptis Magna, and the Greek name for the trio, Tripolis or "three cities", eventually attached itself to Oea alone. After Carthage was crushed in the Punic Wars, the coast passed to the Numidian kings, and in 46 BCE Rome annexed it. Oea grew rich on olive oil and on goods carried up from the Sahara. An arch honouring Marcus Aurelius and his co-emperor Lucius Verus, raised in the 160s CE, still stands near the harbour.

The Vandals overran the coast in the 5th century CE, and Byzantine forces recovered it in 533. Arab armies under Amr ibn al-As took the city in the early 640s, and from then on it was a Muslim and increasingly Arabic-speaking town. It was governed from distant capitals by the Umayyads, the Aghlabids of Kairouan, the Fatimids and their Zirid deputies. Normans from Sicily held Tripoli from 1146 until they were expelled about 1160, after which it passed to the Almohads and then to the Hafsid rulers of Tunis, whose grip was often loose. The map's brief Mamluk phase does not reflect real control from Cairo.

A Spanish fleet stormed the city in 1510, and in 1530 Charles V entrusted it to the Knights of St John. In 1551 an Ottoman force, with the corsair Turgut Reis among its commanders, drove the knights out, and Tripoli became the seat of an Ottoman province.

Corsairs, colonists and independence

Green Square Tripoli
David Holt · CC BY-SA 2.0 · Wikimedia Commons
Green Square Tripoli

Green Square Tripoli

David Holt · CC BY-SA 2.0 · Wikimedia Commons

In 1711 a cavalry officer, Ahmad Karamanli, seized power and founded a dynasty that ran Tripoli almost as an independent state until 1835, while still acknowledging the sultan. Much of its income came from privateering and from payments extracted from foreign shipping. A quarrel over those payments led to war with the United States between 1801 and 1805, during which the captured American frigate Philadelphia was burned in Tripoli harbour in 1804. In 1835 the Ottoman Empire reimposed direct rule.

Italy invaded in October 1911, and the Ottomans gave up Libya the following year. Italian rule added a new quarter of boulevards, arcades and villas outside the walled medina, together with a large settler population. British troops entered the city on 23 January 1943, and a British military administration ran Tripolitania until Libya became an independent kingdom under Idris I on 24 December 1951.

Muammar Gaddafi seized power on 1 September 1969 and ruled from Tripoli for 42 years. Oil revenue drove rapid growth, and most of the remaining Italian community was expelled in 1970. Rebel forces captured the city in August 2011, during the civil war that ended his rule. Since then Tripoli has been contested by rival governments and armed groups, and an offensive by eastern-based forces in 2019 and 2020 failed to take it. In 2024 it was the seat of the internationally recognised Government of National Unity. Home to more than a million people, it is Libya's largest city and its main port.

In pictures

2 images · scroll →
Old Castle at sunset, Tripoli - Libya
Tawil81 · CC BY-SA 4.0 · Wikimedia Commons
Old Castle at sunset, Tripoli - Libya

Old Castle at sunset, Tripoli - Libya

Tawil81 · CC BY-SA 4.0 · Wikimedia Commons
قوس ماركوس طرابلس
Feras Gutani · CC BY-SA 4.0 · Wikimedia Commons
قوس ماركوس طرابلس

قوس ماركوس طرابلس

Feras Gutani · CC BY-SA 4.0 · Wikimedia Commons

Timeline

28 periods
  1. 123,000 BCE – 10,000 BCEHomo heidelbergensisMap of 123,000 BCE →
  2. 10,000 BCE – 2000 BCENo state drawn here on the mapMap of 10,000 BCE →
  3. 2000 BCE – 1500 BCESaharan pastoral nomadsMap of 2000 BCE →
  4. 1500 BCE – 500 BCEBerbersMap of 1500 BCE →
  5. 500 BCE – 200 BCECarthaginian EmpireMap of 500 BCE →
  6. 200 BCE – 100 BCESaharan pastoral nomadsMap of 200 BCE →
  7. 100 BCE – 1 BCENo state drawn here on the mapMap of 100 BCE →
  8. 1 BCE – 300 CERoman EmpireMap of 1 BCE →
  9. 300 CE – 400 CERome (Maximian)Map of 300 CE →
  10. 400 CE – 500 CEWestern Roman EmpireMap of 400 CE →
  11. 500 CE – 600 CEVandalsMap of 500 CE →
  12. 600 CE – 700 CEEastern Roman EmpireMap of 600 CE →
  13. 700 CE – 800 CEUmayyad CaliphateMap of 700 CE →
  14. 800 CE – 1000 CEAghlabid EmirateMap of 800 CE →
  15. 1000 CE – 1200 CEFatimid CaliphateMap of 1000 CE →
  16. 1200 CE – 1279 CEAlmohad CaliphateMap of 1200 CE →
  17. 1279 CE – 1530 CEHafsid CaliphateMap of 1279 CE →
  18. 1530 CE – 1600 CEKnights HospitallerMap of 1530 CE →
  19. 1600 CE – 1715 CEOttoman EmpireMap of 1600 CE →
  20. 1715 CE – 1800 CETripolitaniaMap of 1715 CE →
  21. 1800 CE – 1815 CETripolitaniaunder Ottoman EmpireMap of 1800 CE →
  22. 1815 CE – 1878 CETripolitaniaMap of 1815 CE →
  23. 1878 CE – 1914 CEOttoman EmpireMap of 1878 CE →
  24. 1914 CE – 1920 CELibyaunder ItalyMap of 1914 CE →
  25. 1920 CE – 1938 CELibya (IT)under ItalyMap of 1920 CE →
  26. 1938 CE – 1945 CELibyaMap of 1938 CE →
  27. 1945 CE – 1960 CETripolitana (UK Lybia)under United KingdomMap of 1945 CE →
  28. 1960 CE – todayLibyaMap of 1960 CE →

Quick answers

Who rules Tripoli today?
On the latest map, Tripoli is in Libya.
Who ruled Tripoli the longest?
On our maps, the Roman Empire, for about 301 years (1 BCE to 300 CE).
How many times has Tripoli changed hands?
Our maps show it passing to a new ruler 18 times since 1 CE.
Who ruled Tripoli in 1 CE, 1000, 1500 and 1900?
In 1 CE: Roman Empire. In 1000: Fatimid Caliphate. In 1500: Hafsid Caliphate. In 1900: Ottoman Empire.

Dates are the years of our map snapshots, which are decades or centuries apart, so a change shown between two years happened at some point in that gap. The borders come from the historical-basemaps project and are approximate, especially for the ancient world and for peoples without fixed frontiers.

Tripoli on this site

Tripoli in the guided tours
The Crusades and World War II in Europe and North Africa

Historic sites nearby