Set primarily in 1962 during the Cuban Missile Crisis, the film focuses on the origins of, and relationship between Charles Xavier / Professor X and Erik Lehnsherr / Magneto and their respective teams of mutants, the X-Men and the Brotherhood.[19]Producer Lauren Shuler Donner first thought of a prequel based on the young X-Men during the production of X2, and later producer Kinberg suggested to 20th Century Fox an adaptation of the comic-book series X-Men: First Class.[20][21] Singer signed on to direct the film in December 2009; however, in March 2010 it was announced that Singer would only be producing.[22] Vaughn, who was previously attached to direct X-Men: The Last Stand, became the director and co-wrote the final script with his writing partner, Jane Goldman.[21] The film superseded a planned X-Men Origins: Magneto film, and the Writer's Guild of Americaarbitration credited Magneto writer Sheldon Turner for the film's story.[23] Principal photography began in August 2010 in London, England, and ended in December. The film was released on June 3, 2011.[24]