The moving of the royal court to León, after the death of Alfonso III, 'The Great', links the life of the city to the relics preserved in its cathedral and the passing of pilgrims that visit El Salvador, and continue on their way to Santiago de Compostela. Kings spent less and less time in Oviedo following the change, and spent more time in the rich Duero Plains. León was built up after it became the capital, and eventually surpassed Oviedo in terms of construction.