On December 29.1874 ; The military coup of Gen. Martinez Campos in Sagunto ends the failed First Spanish Republic and Prince Alfonso is proclaimed King of Spain.