In the decades after starting his work on Sagrada Familia, Gaudí increasingly devoted himself to prayer and the sacraments, along with his work on the basilica.