During a counter-offensive in 1109, the town was overrun by the Moors, but the Christianized fortress held.
Despite the town being overrun by Moors, the fortress did not fall.
The old warehouses have been transformed into upscale apartments and fashionable office buildings, and there is a buzz of chic commercial activity that has spawned smart restaurants and wine bars.