Complex sentence: With the history of Tripoli dating back to the 14th century BCE, it is home to the largest fortress in Lebanon (the Citadel of Raymond de Saint-Gilles), and continues to be the second largest Mamluk city (behind Cairo) in architectural heritage.
Split into simpler sentences: With the history of Tripoli dating back to the 14th century BCE, it is the location of the largest fortress in Lebanon (the Citadel of Raymond de Saint-Gilles). Continues to be the second largest Mamluk city (followin Cairo) in architectural heritage.