sentences:  After Riva Palacio received his degree in law he continued working while going to war.Riva Palacio participated in the liberal Plan de Ayutla that ousted Antonio López de Santa Anna and fought against the French intervention in Mexico (1862-67).In 1858 and through April 1860, he was in prison because of his liberal ideas.