X-Men: The Last Stand (also called X-Men 3: The Last Stand) is a 2006 superhero film and the third in the X-Men series. It was directed by Brett Ratner and stars an ensemble cast including Hugh Jackman, Halle Berry, Patrick Stewart, Ian McKellen, Famke Janssen, Kelsey Grammer, Anna Paquin, Shawn Ashmore, Aaron Stanford, Vinnie Jones, Rebecca Romijn, and James Marsden. The film's script is loosely based on two X-Men comic book story arcs, "The Dark Phoenix Saga" by writer Chris Claremont and artist John Byrne, and "Gifted" by writer Joss Whedon and artist John Cassaday, with a plot that revolves around a "mutant cure" that causes serious repercussions among mutants and humans, and on the mysterious resurrection of Jean Grey. Filming started in August 2005, budgeted at $210 million, the most expensive film at the time of its release, and had extensive visual effects done by eleven different companies. X-Men: The Last Stand received mixed reviews, but grossed approximately $459 million worldwide, the seventh-highest grossing film of 2006 and the most financially successful of the series as of at least December 2011.
In the 1980s, Professor Charles Xavier and Magneto meet a young Jean Grey at her parents' house. Ten years later, a young Warren Worthington III tries to cut off his wings. In the not-too distant future, the pharmaceutical company Worthington Labs announces it has developed an inoculation to suppress the X-gene that gives mutants their powers and makes them different from other humans, offering the "cure" to any mutant who wants it. While some mutants are interested in the cure, including the X-Men's Rogue, many others are horrified by the announcement. In response to the news, the X-Men's adversary, Magneto, raises an army, warning his followers that the "cure" will be forcefully used to exterminate the mutant race. Cyclops, still depressed about the loss of Jean Grey, returns to Alkali Lake. Jean appears to Cyclops, but as the two kiss, Jean takes on a fearsome appearance. Psychically sensing trouble, Professor X sends Wolverine and Storm to investigate. When they arrive, the two X-Men encounter telekinetically floating rocks, Cyclops' glasses, and an unconscious Jean. Cyclops himself is nowhere to be found. Xavier explains that when Jean sacrificed herself, she unleashed the powerful alternate personality she calls "Phoenix". Wolverine is disgusted to learn that Xavier has kept Jean in check telepathically, but when Jean awakens, he realizes she is not the Jean Grey he knew. Jean pleads with Wolverine to kill her, but when he refuses, the Phoenix surfaces and knocks out Wolverine, before escaping to her childhood home. Magneto, also aware that Jean is now a powerful mutant, meets Xavier at Jean's house. The two men vie for Jean's loyalty until the Phoenix resurfaces. She destroys her family's house, disintegrates Xavier, and leaves with Magneto. The X-Men regroup and decide to confront Magneto's army, despite being significantly outnumbered. Magneto has diverted the Golden Gate Bridge to provide access to Alcatraz Island, the location of Worthington Labs facility. The US Military troops defending the facility are armed with plastic 'cure weapons' which are able to neutralise the attacking mutants, and are immune to Magneto's powers. Magneto willingly lets the lesser-powered mutants charge ahead, with heavy initial losses (their mutant powers 'cured'), but then they rapidly begin to overwhelm the troops. The X-Men arrive with only with six members (Wolverine, Storm, Beast, Iceman, Colossus and Shadowcat) put up a good fight against Magneto and his army, protecting both the Troops and the facility. During the fight, Beast manages to inject Magneto with the "cure", nullifying his mutant powers, much to his shock. Meanwhile Shadowcat has entered the facility to find the mutant that is the source of "cure" and save him from Juggernaut, who is intent on killing him. They manage to escape as the Phoenix begins to destroy everything around her. Wolverine realises he is the only one who can get close to her, and tells Storm to evacuate everyone else. He goes to face the Phoenix alone, his self-healing barely neutralizing her disintegration attack. Momentarily gaining control, Jean begs Wolverine to save her. Telling Jean he loves her, Wolverine kills her. The school continues without Xavier, with Storm now as headmistress and Logan as a teacher; the President appoints Beast as ambassador to the United Nations; Rogue returns, telling Iceman she has taken the "cure." The depowered Magneto sits at a chessboard in a park and reaches out toward a metal chess piece that moves slightly, indicating that the mutant cure may be only temporary. Following the end credits, Dr. Moira MacTaggert checks on a comatose patient who greets her with Xavier's voice. Startled, she replies, "Charles?".