The Venetians completed its fortification in 1473 to protect the city from pirates and invaders from the sea.