On September 24, 1870, he was ordained a priest by the bishop Lluís Jordà in Vic, and in October that same year, he said his first Mass, in the Sant Jordi hermitage. The next day he said his second Mass in the Sant Francesc hermitage near Vic. In 1871, his mother died (January 17) at the age of 52. On September 1 he was appointed bishop coadjutor of the small town of Vinyoles d'Orís and three days later he took up his charge.