Following Amadeo's abandonment, the First Spanish Republic was established, including the territories of Cuba, Puerto Rico and the Pacific Archipelagos. The first act of President Estanislao Figueras was to extend the abolition of slavery to Puerto Rico; Cuban slaves would have to wait until 1889. The republicans were not in agreement either, and they had to contend with a war in Cuba and Muslim uprisings in Spanish Morocco. In the midst of these crises, the Carlist War continued and the Carlist party made itself strong in areas with claims over their national and institutional specificity such as Catalonia and the Basque Country. This unrest led to the creation of a group in favour of the Bourbon Restoration, led by the moderate conservative Antonio Cánovas del Castillo.