Between 1496 and 1508, the Aragonese built walls with six semi-circular bastions, encircling the original medieval castle.
After many years of neglect and deterioration, the castle was restored between 1991 and 2002, and again between 2008 and 2010 [REF].