He did his initial studies in the school of San Fernando, directed by priests from 1843-1845; then at the Colegio Santo Tomás in Cádiz, 1845-1846 where he studied Latin, Spanish and French grammar and basic philosophy.
He was ordained on 21 March 1864.