Tavira, which established itself as an important port for sailors and fishermen. The area remained rural until the 11th century when Moorish Tavira (from the Arabic Tabira, "the hidden") grew rapidly, becoming one of the important towns of the then Gharb al-Andalus (the west), today's Algarve. The Reconquista In 1242 Dom Paio Peres Correia took Tavira back from the Moors in a bloody conflict of retaliation after seven of his principal Knights were killed during a period of truce. Dom Paio's Christian troops decimated most of Tavira's population and the few survivors were kept in a tiny quarter known as "Mouraria". The 1755 earthquake In the 18th century, the port on its river was of considerable importance for shipping produce such as salt, dried fish and wine. Like most of the Algarve, its buildings were virtually all destroyed by the earthquake of 1755. This earthquake is thought to have reached 8.5–9.0 on the moment magnitude scale and caused extensive damage throughout the Algarve due to high intensity shaking (XI (Extreme) on the Mercalli intensity scale) and tsunamis. The earthquake is referred to as the Lisbon earthquake due to its terrible effects on the capital city, although the epicentre was some west-southwest of Cape St. Vincent in the Algarve region. Demographics Tavira today The city has since been rebuilt with many fine 18th-century buildings along with its 37 churches. A bridge links the two parts of the town across the River Gilão. The church of Santa Maria do Castelo, built on the ruins of a mosque, holds the tombs of Dom Paio Peres Correia and his knights. The church dates back to the 13th century, with the clock tower having been recreated from what was once a minaret. A bust of Dom Paio who died in Tavira in 1275, can be seen on the corner of the town hall. At one time fishing was the area's primary industry but that declined, partly due to the changing migration patterns of tuna fish and advancing silt in the river Gilão. The population is in the region of 25,000 inhabitants (municipality of Tavira) supporting a military base. Although still relatively untouched by mass tourism, there are several golf courses in the vicinity. The local beach lies past the salt pans and can be reached via the nearby Santa Luzia footbridge or by ferry, taking visitors to the sand-bar island known as Ilha de Tavira,