 In 1905, due to difficulties with the acceptance of his socio-educational activities he was obliged to abandon the work in the Caves of Guadix and at the age of thirty-two accepted an appointment as a canon of the Basilica of Covadonga, Asturias.His time in Guadix had impressed Pedro with the need for education for the poor.He began to published articles and pamphlets on the question of the professional formation of teachers.