The village of Atrani was more extensive than its current borders and protected by massive fortifications. It extended as far as Castiglione (now part of the municipality of Ravello), and was so named from the "castellio", which was a large castle situated on the promontory where the collegiate church of St. Mary Magdalene stands today. In the Civita area there was the Castle of Supramonte, which was destroyed by attacks by the Republic of Pisa between 1135 and 1137. There was also the coastal tower of "Tumulo” or “San Francisco", built in 500 by Don Parafan de Ribera to defend against the Turks who, after the defeat of the Christian fleet at Djerba near Tunis in 1560, would eventually overrun the coast.