Crusader period
The city became the chief town of the County of Tripoli (Latin Crusader state of the Levant) 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 neighbouring villages.[citation needed] At that time, Tripoli had a heterogeneous population including Western Europeans, Greeks, Armenians, Maronites, Nestorians, Jews, and Muslims. During the Crusade period, Tripoli witnessed the growth of the inland settlement surrounding the “Pilgrim’s Mountain” (the citadel) 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’s 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.