Erected from 1187 to 1271, it was repeatedly restored in the following centuries, until a large renovation was held in 1765–1781.
Erixida de 1187 a 1271, foi restaurada en varias ocasións nos séculos seguintes, ata que se levou a cabo unha gran renovación en 1765-1781.