The election of Amadeo of Savoy to the throne of Spain led to the replacement of de la Torre in 1871. In 1872, the government of the succeeding governor-general, Rafael de Izquierdo, experienced the uprising of Filipino soldiers at the Fort San Felipe arsenal in Cavite el Viejo. Seven days after the mutiny, many people were arrested and tried. Three of these were secular priests: José Burgos, Mariano Gomez and friar Jacinto Zamora, who were hanged by Spanish authorities in Bagumbayan. Their execution had a profound effect on many Filipinos; José Rizal, the national hero, would dedicate his novel "El filibusterismo" to their memory.