Its origin goes back to the Carthaginian era, and at all times was used as a fortress to defend its coast from the African invasions. Its structure and plant underwent modifications under the reigns of Charles I, Philip II and Charles III. In its last restoration of 2007, spaces were adapted and new ones were created for the installation of exhibitions and cultural events. It is a tourist attraction to enjoy its magnificent views.