The 1980 October Surprise theory refers to an allegation that representatives of Ronald Reagan's presidential campaign made a secret deal with Iranian leaders to delay the release of American hostages until after the election between Reagan and President Jimmy Carter, the incumbent
This is the origin of the phrase, referring to events that happen in the month before the US elections that can impact voting.