 Since the initial foundation, three churches have been successively erected on the site of the first chapel.In November 1822 an earthquake affected the church to the extent it had to be rebuilt stone by stone but this was not done quickly.The church remained a ruin for over a decade until reconstruction began in 1837, finished in 1842, under the direction of priest Jose Antonio Riobío.