X-Men: First Class is a 2011 American science fiction superhero film, based on the X-Men characters appearing in Marvel Comics. It is the fifth installment in the X-Men film series. It serves as a prequel of the franchise. The film was directed by Matthew Vaughn and produced by Bryan Singer. The story is set primarily in 1962 during the Cuban Missile Crisis, and focuses on the relationship between Professor Charles Xavier (James McAvoy) and Erik Lensherr / Magneto (Michael Fassbender), and the origin of their groups—the X-Men and the Brotherhood of Mutants, respectively, as they deal with the Hellfire Club led by Sebastian Shaw, who is bent on world domination. The film also stars Rose Byrne, Jennifer Lawrence, January Jones, Nicholas Hoult, Oliver Platt, Jason Flemyng, Lucas Till, Edi Gathegi, and Kevin Bacon.