The citadel as it stands today dates from the 16C. The first stone was laid by the Genoese in 1492 on an outcrop that was easy to defend and provided a fine view of the gulf. The town grew up around this defensive site. Today it is still a military building and is closed to the public.