Tripoli's oldest mosque, the Naqa Mosque dates to the first Arab conquest of the city in the 7th century, though the present building is a mixture of additions and restorations — the last major work was completed around 1610. It is sometimes called the Camel Mosque after a legend about its founding.
The roof consists of 42 brick-built domes, supported by columns from various eras, some of which date from Roman times and were presumably scavenged from the city's ancient buildings. The square minaret's spiral staircase is made of plaster and palm wood — an unusual local material that has survived remarkably well. The mosque sits deep inside the medina, reached through a maze of lanes.