Tripoli ( ; , , ; , see below) is the largest city in northern Lebanon and the second-largest city in the country. Situated north of the capital Beirut, it is the capital of the North Governorate and the Tripoli District. Tripoli overlooks the eastern Mediterranean Sea, and it is the northernmost seaport in Lebanon. The city is predominantly inhabited by Sunni Muslims, with smaller populations of Alawites and Christians, including Maronites and Armenians among others.

The history of Tripoli dates back at least to the 14th century BC. It was called Athar by the Phoenicians, and later Tripolis by the Greek settlers, whence the modern Arabic name Ṭarābulus derives. In the Arab world, Tripoli has been historically known as (), to distinguish it from its Libyan counterpart, known as ().

Landmarks of Tripoli include the Mansouri Great Mosque and the Citadel of Tripoli, which is the largest crusader castle in Lebanon. The city has the second highest concentration of Mamluk architecture after Cairo. Tripoli also holds a string of four small islands offshore, the Palm Islands, which were declared a protected area because of their status as a haven for endangered loggerhead turtles (Caretta caretta), rare monk seals and migratory birds. Tripoli borders the city of El Mina, the port of the Tripoli District, which it is geographically conjoined with to form the greater Tripoli conurbation.

With the formation of Lebanon and the 1948 breakup of the Syrian–Lebanese customs union, Tripoli, once on par in economic and commercial importance to Beirut, was cut off from its traditional trade relations with the Syrian hinterland and therefore declined in relative prosperity.

Names According to classical writers Diodorus Siculus, Pliny the Elder, and Strabo, the city was founded by combining colonies from three different Phoenician cities – Tyre, Sidon and Arwad. These colonies were each a stadion () apart from each other, and the combined city became known as 'Triple City', or Trípolis () in Greek.

Tripoli had a number of different names as far back as the Phoenician age. In the Amarna letters the name Derbly, possibly a Semitic cognate of the city's modern Arabic name Ṭarābulus, was mentioned, and in other places Ahlia (relating to the Semitic root of family) or Wahlia (relating to the proto-Semitic word for mud) are mentioned (14th century BC).Les peuples et les civilisations du Proche Orient by Jawād Būlus. p. 308. In an engraving concerning the invasion of Tripoli by the Assyrian King Ashurnasirpal II (888–859 BC), it is called Mahallata (from the proto-Semitic root for encampment or quarter) or Mahlata, Mayza, and Kayza.Wanderings −2: History of the Jews by Chaim Potok. p. 169.

Under the Phoenicians, the name Athar was used to refer to Tripoli.History of Syria, Including Lebanon and Palestine by Philip Khuri Hitti. p. 225. When the Ancient Greeks settled in the city they called it Trípolis, meaning 'triple city', influenced by the earlier phonetically similar but etymologically unrelated name Derbly.Lebanon in Pictures by Peter Roop, Sam Schultz, Margaret J. Goldstein. p. 17. The Arabs called it Ṭarābulus and Ṭarābulus ash-Shām (referring to bilād ash-Shām, or Levant, to distinguish it from the Libyan city with the same name).

Once, Tripoli was also known as al-Fayḥāʾ (), which is a term derived from the Arabic verb fāḥa () which is used to indicate the diffusion of a scent or smell. Tripoli was once known for its vast orange orchards. During the season of blooming, the pollen of orange flowers was said to be carried on the air, creating a splendid perfume that filled the city and suburbs.

The city of Tripoli is also given the title of "City of Knowledge and Scholars" ().

History

Evidence of settlement in Tripoli dates back as early as 1400 BC. Tripoli was originally established as a Phoenician colony in the 8th century BC. There, the Phoenicians established a trading station and later, under Persian rule, the city became the center of a confederation of the Phoenician city-states of Sidon, Tyre, and Arados Island. Under Hellenistic rule, Tripoli was used as a naval shipyard and the city enjoyed a period of autonomy. It came under Roman rule around 64 BC. The 551 Beirut earthquake and tsunami destroyed the Byzantine city of Tripoli along with other Mediterranean coastal cities.

Tripoli was conquered by an Arab Muslim army in 635. During Umayyad rule, Tripoli became a commercial and shipbuilding center. It achieved semi-independence under Fatimid rule, when it developed into a center of learning. The Crusaders laid siege to the city at the beginning of the 12th century and were able finally to enter it in 1109. This caused extensive destruction, including the burning of Tripoli's famous library, Dar al-'Ilm (House of Knowledge), with its thousands of volumes. During the Crusaders' rule the city became the capital of the County of Tripoli. In 1289, it fell to the Mamluks and the old port part of the city was destroyed. A new inland city was then built near the old castle. During Ottoman rule from 1516 to 1918, it retained its prosperity and commercial importance. Tripoli and all of Lebanon was under French mandate from 1920 until 1943 when Lebanon achieved independence.

Ancient period Many historians reject the presence of any Phoenician civilization in Tripoli before the 8th (or sometimes 4th) century BC. Others argue that the north–south gradient of Phoenician port establishments on the Lebanese coast indicates an earlier age for the Phoenician Tripoli.

Tripoli has not been extensively excavated because the ancient site lies buried beneath the modern city of El Mina. However, a few accidental finds are now in museums. Excavations in El Mina revealed skeletal remains of ancient wolves, eels, and gazelles, part of the ancient southern port quay, grinding mills, different types of columns, wheels, bows, and a necropolis from the end of the Hellenistic period. A sounding made in the Crusader castle uncovered Late Bronze Age, Iron Age, in addition to Roman, Byzantine, and Fatimid remains. At the Abou Halka area (at the southern entrance of Tripoli) refuges dating to the early (30,000 years old) and middle Stone Age were uncovered.Saliba, R., Jeblawi, S., and Ajami, G., Tripoli the Old City: Monument Survey – Mosques and Madrasas; A Sourcebook of Maps and Architectural Drawings, Beirut: American University of Beirut Publications, 1995.

Tripoli became a financial center and main port of northern Phoenicia with sea trade (East Mediterranean and the West), and caravan trade (North Syria and hinterland).

Under the Seleucids, Tripoli gained the right to mint its own coins (112 BC); it was granted autonomy between 104 and 105, which it retained until 64 BC. At the time, Tripoli was a center of shipbuilding and cedar timber trade (like other Phoenician cities).

During the Roman and Byzantine period, Tripoli witnessed the construction of important public buildings including a municipal stadium or gymnasium due to the strategic position of the city midway on the imperial coastal highway leading from Antioch to Ptolemais. In addition, Tripoli retained the same configuration of three distinct and administratively independent quarters (Aradians, Sidonians, and Tyrians). The territory outside the city was divided between the three quarters.

Umayyad, Abbasid and Fatimid periods Tripoli gained in importance as a trading centre for the whole Mediterranean after it was inhabited by the Arabs. Tripoli was the port city of Damascus; the second military port of the Arab Navy, following Alexandria; a prosperous commercial and shipbuilding center; a wealthy principality under the Kutama Ismaili Shia Banu Ammar emirs. Legally, Tripoli was part of the jurisdiction of the military province of Damascus (Jund Dimashq).Tadmouri, O. AS., Lubnan min al-fath al-islami hatta sukut al-dawla al-'umawiyya (13–132 H/ 634–750 CE): Silsilat Dirasat fi Tarih AlSahel AlShami, Tripoli, 1990. Arabic.

The Jewish community of Tripoli traces its roots back to the seventh century, as recounted by the Abbasid-era historian al-Baladhuri. During the caliphate of Rashidun caliph Uthman (644–655), the governor of Syria, Mu'awiya, settled Jews in Tripoli, fostering amicable relations with the majority Sunni Muslims. However, during the persecution of dhimmis by the Shi'ite Fatimid caliph al-Hakim (996–1021), the synagogue faced conversion into a mosque. Notably, during the Seljuk invasion in the 1070s, Tripoli served as a refuge for Jews from Palestine, as documented in Cairo Geniza records.

Crusader period

During the Crusade period, the city became the chief town of the County of Tripoli (a Crusader state founded by Raymond of Saint-Gilles) extending from Byblos to Latakia and including the plain of Akkar with the famous Krak des Chevaliers. Tripoli was also the seat of a bishopric. Tripoli was home to a busy port and was a major center of silk weaving, with as many as 4,000 looms. Important products of the time included lemons, oranges, and sugar cane. For 180 years, during the Frankish rule, Occitan was among the languages spoken in Tripoli and neighboring villages. At that time, Tripoli had a heterogeneous population including Western Europeans, Greeks, Armenians, Maronites, Nestorians, Jews, and Muslims.

During that time, Tripoli witnessed the growth of the inland settlement surrounding the "Pilgrim's Mountain" (the Citadel of Tripoli) into a built-up suburb including the main religious monuments of the city such as: The "Church of the Holy Sepulchre of Pilgrim's Mountain" (incorporating the Shiite shrine), the Church of Saint Mary of the Tower, and the Carmelite Church. The state was a major base of operations for the military order of the Knights Hospitaller, who occupied the famous castle Krak Des Chevaliers (today a UNESCO world heritage site). The state ceased to exist in 1289, when it was captured by the Egyptian Mamluk sultan Qalawun.

The mid-twelfth century earthquake led to the death of many Jews in Tripoli, as noted by Jewish explorer Benjamin of Tudela.

Mamluk period

Tripoli was captured by Sultan al-Mansur Qalawun from the Crusaders in 1289. The Mamluks destroyed the old city and built a new city 4 km inland from it. About 35 monuments from the Mamluk city have survived to the present day, including mosques, madrasas, khanqahs, hammams (bathhouses), and caravanserais, many of them built by local Mamluk amirs (princes). The Mamluks did not fortify the city with walls but restored and reused Saint-Gille's citadel.

During the Mamluk period, Tripoli became a central city and provincial capital of the six kingdoms in Mamluk Syria. Tripoli ranked third after Aleppo and Damascus. The kingdom was subdivided into six wilayahs or provinces and extended from Byblos and Aqra mountains south, to Latakia and al Alawiyyin mountains north. It also included Hermel, the plain of Akkar, and Hosn al-Akrad (Krak des Chevaliers).Tadmouri, O. AS., Tarikh Tarablus al-siyasi wa'-hadari Aabr al-'usour, Tripoli, 1984.

Tripoli became a major trading port of Syria supplying Europe with candy, loaf and powdered sugar (especially during the latter part of the 14th century). The main products from agriculture and small industry included citrus fruits, olive oil, soap, and textiles (cotton and silk, especially velvet).

The Mamluks formed the ruling class holding main political, military and administrative functions. Arabs formed the population base (religious, industrial, and commercial functions) and the general population included the original inhabitants of the city, immigrants from different parts of the Levant, North Africans who accompanied Qalawun's army during the liberation of Tripoli, Eastern Orthodox Christians, some Western families, and a minority of Jews. The population size of Mamluk Tripoli is estimated at 20,000–40,000; against 100,000 in each of Damascus and Aleppo.