The Restoration (Spanish: Restauración), or Bourbon Restoration (Spanish: Restauración borbónica), is the name given to the period that began on 29 December 1874 — after a coup d'état by Martínez Campos ended the First Spanish Republic and restored the monarchy under Alfonso XII — and ended on 14 April 1931 with the proclamation of the Second Spanish Republic.
After almost a whole century of political instability and many civil wars, the aim of the Restoration was to create a new political system, which ensured stability by the practice of turnismo. This was the deliberate rotation of the Liberal and Conservative parties in the government, so no sector of the bourgeoisie felt isolated, while all other parties were excluded from the system. This was achieved by electoral fraud. Opposition to the system came from republicans, socialists, anarchists, Basque and Catalan nationalists, and Carlists.