In 1859, he was called by the Spanish government to depict the campaigns of the Spanish-Moroccan War (1859)|Spanish-Moroccan War. The expedition lasted for only about six months, and he returned to Spain in the summer of 1860.