sentences:  In 1876 he resigned as governor to dedicate himself to writing.In 1884, he was accused of conspiracy and was imprisoned, where he wrote his second volume of what became the five-volume "México a través de los siglos".After prison Riva Palacio retired from the military and left for Spain where he met Spanish artists and politicians.