This film begins in a bleak and lonely future put in motion in 1973, when brilliant scientist Dr. Bolivar Trask (Peter Dinklage) constructed a series of huge robots called Sentinels with the primary intention of eliminating mutants, whom he felt posed a direct threat to the human species. Although the Sentinels were initially programmed to just target mutants, they quickly began destroying humans who possessed the DNA to breed mutants, and finally, any mortal mutant supporters. Desperate, Professor Xavier (Sir Patrick Stewart) and Magneto (Sir Ian McKellen) concoct a scheme to send Wolverine back in time to the year Mystique (Jennifer Lawrence) assassinated Trask. Mystique unintentionally hastened the Sentinel program when she was caught by Sergeant William Stryker (Josh Helman), who successfully harvested her DNA to make the robots more powerful than ever before. When Wolverine arrives in the past, he immediately seeks out a much younger Charles Xavier (James McAvoy), as well as Beast (Nicholas Hoult) and Quicksilver (Evan Peters), and the four of them work together to break a young Magneto (Michael Fassbender) out of a heavily fortified prison cell hundreds of feet beneath the Pentagon. Meanwhile, Mystique has already moved in for the kill, aided by Havok, Ink, Toad, and Spike. Although Wolverine, Beast, Charles, and Magneto manage to stop the assassination, Charles and Magneto clash once more as the latter tries to change the plan at the last minute, causing a public panic during a post-Vietnam War peace convention in Paris. And Dr. Trask, still enraged that Congress rejected the Sentinel program, takes his idea directly to President Nixon (Mark Camacho), laying the stage for an even darker future than the one Wolverine was sent back to prevent.