Archaeological excavations carried out in 1916 and 1971 have shown that the present, mainly Gothic church was pre-dated by a Romanesque church, dating from the 12th century.
Escavacións arqueolóxicas realizadas en 1916 e 1971 descubriron que a presente igrexa, principalmente gótica, foi precedeida por outra de estilo románico do século XII.