The Spanish transition to democracy or new Bourbon restoration was the era when Spain moved from the dictatorship of Francisco Franco to a liberal democratic state. The transition is usually said to have begun with Franco's death on 20 November 1975, while its completion is marked by the electoral victory of the socialist PSOE on 28 October 1982.
Between 1978 and 1982, Spain was led by the Unión del Centro Democrático governments, in 1981 the 23-F coup d'état attempt took place. On 23 February Antonio Tejero, with members of the Guardia Civil entered the Congress of Deputies, and stopped the session, where Leopoldo Calvo Sotelo was about to be named prime minister of the government. Officially, the coup d'état failed thanks to the intervention of King Juan Carlos. Spain joined NATO before Calvo-Sotelo left office.
Along with political change came radical change in Spanish society. Spanish society had been extremely conservative under Franco, but the transition to democracy also began a liberalization of values and societal mores.