 However, on December 19, 1890 he published a criticism of the Spanish colonial government in Morocco in "El Imparcial", and he was arrested after being tried, and incarcerated in the Santa Bárbara at Alicante in 1891.He was released two years later.After 1894, he served as aide-de-camp to General Manuel Macías y Casado in the latter’s assignments as Commander General of Melilla; Captain General of the Canary Islands; Commander-in-Chief of the Seventh Army Corps at Valladolid; and Captain General of Puerto Rico.