The 1982 Spanish general election was held on Thursday, 28 October 1982, to elect the 2nd Cortes Generales of the Kingdom of Spain. All 350 seats in the Congress of Deputies were up for election, as well as 208 of 254 seats in the Senate. The election was called several months ahead of schedule on 27 August 1982, by the then Prime Minister Leopoldo Calvo-Sotelo, amid poor opinion poll ratings and severe infighting within his party, the Union of the Democratic Centre (UCD), that had seen the splits of former prime minister Adolfo Suárez's Democratic and Social Centre (CDS), Óscar Alzaga's People's Democratic Party (PDP) and the Democratic Action Party (PAD) of former minister Francisco Fernández Ordóñez. The closing legislature had been characterized by political instability and the effects of an economic downturn resulting from the 1979 oil crisis: Suárez himself had resigned the premiership in January 1981 as a result of the ongoing UCD crisis, a military coup d'etat attempt had been thwarted during Calvo-Sotelo's investiture on 23 February 1981, and the UCD had become increasingly isolated during the administrative set up of the so-called "state of the autonomies", both parliamentarily—a result of its minority status and continuous defections—and politically, having been routed in every regional election held since 1979: the Basque Country, Catalonia, Galicia and Andalusia. Calvo-Sotelo himself had chosen not to run for re-election. The Spanish Socialist Workers' Party (PSOE) led by Felipe González won the largest landslide victory in a Spanish democratic election, with 48.1% of the vote and a strong majority of 202 out of 350 seats in the Congress, by running a mainstream modern social democratic campaign and appealing to political change. The UCD, on the other hand, was decimated, losing 93% of its 1979 seats and roughly 80% of its 1979 vote—still the worst defeat that a sitting government has suffered since the restoration of democracy, and one of the worst defeats ever suffered by a governing party in the Western world.