From 1305, restoration work was carried out for the harbor walls, roads were improved, a bridge was built and the quarterdeck was rebuilt while, to avoid possible hostilities with the Counts of Santa Fiora, the boundaries were precisely established.