 Cervera was friends with the republican politician Manuel Ruiz Zorrilla.His political views caused him trouble with his superiors and may have been the reason behind some of his failures.In 1891, he ran as Republican candidate to the Cortes for Segorbe, but the military coup prevented him from running or achieving victory.