Who led the military to revolt against the Spainsh government?