The October 27, 1982, coup d'état attempt was a conspiracy conceived in Spain to overthrow the government. Meant to take place on October 27, 1982, a day before national elections, the plan was discovered and foiled the preceding October 1. Although made public, the importance of the coup attempt was downplayed with the cooperation of the main media, in order to avoid raising social unrest. This coup d'état plan hardly affected the election campaign for the October 28 elections, won by Spanish Socialist Workers' Party (PSOE). Over time, it has become an obscure chapter in Spanish history.