The third phase of construction was inspired by the churches of Toulouse and Santiago de Compostela .
Construction was completed early in the twelfth - century .
The third phase of construction , which was completed early in the twelfth - century , was inspired by the churches of Toulouse and Santiago de Compostela .