 He was a politician as well as a writer, and his ideology evolved from liberal positions to more traditional ones.He participated in the Spanish–Moroccan War as a volunteer and he left written testimony of his experience in"Diario de un testigo de la Guerra de África" ("Diary of a Witness to the African War").For a time he was a travel writer, relating several of his trips in his articles.