 He would later meet and became friends with Antonio Maria Claret.In 1830 he decided to join the Order of Preachers at the Dominican convent in Girona.His studies for the priesthood and Dominican religious life were jeopardized with the suppression of religious orders that occurred in 1835 due to the intervention of the Spanish government.