 Throughout the 13th century, construction of the defensive walls, the port, and the tower of the local castle continued.In 1314, according to Boccaccio in his "Epistola di frate Ilaro", Dante Alighieri was probably present near the monastery of Santa Croce del Corvo in Bocca di Magra.In 1321, Ameglia was conquered by the Lucchesi "condottiero" Castruccio Castracani, bringing the territory under the rule of Lucca.