The castle was a place of real ceremonial importance back in Early Modern times: Isabella, the monarch who marked the Spanish golden age, was crowned there in mid 15th c. But when the royal court moved to Madrid the castle was turned into a prison. Later on it housed an artillery school. In 1862 the Alcazar caught fire that destroyed the roofing, turrets and upper floors of almost every building. This is when the world learnt about the gem and restored the castle in line with exaggerated Romantic fashion that was trendy back then.