The Cuban Missile Crisis storyline in X-Men: First Class takes place in 1962.
The film uses the real Cold War confrontation as the historical climax of its mutant-superhero story. Charles Xavier and Erik Lehnsherr work with a newly formed group of mutants while trying to stop Sebastian Shaw from provoking a nuclear conflict between the United States and the Soviet Union.
X-Men: First Class was released in 2011 but is principally set decades earlier. Matthew Vaughn directed the film, with James McAvoy playing Charles Xavier and Michael Fassbender playing Erik Lehnsherr. The movie presents their early friendship before they become Professor X and Magneto.
The Cuban Missile Crisis lasted for thirteen days in October 1962. The real-world crisis began after the United States discovered Soviet nuclear missile installations in Cuba. The film dramatizes and alters the historical event for fiction, including the intervention of its mutant characters.