In December 2004, 20th Century Fox hired screenwriter Sheldon Turner to draft a spin-off X-Men film, and he chose to write Magneto, pitching it as "The Pianist meets X-Men." In April 2007, David S. Goyer was hired to direct. Turner said the script was set from 1939 to 1955, and it follows Magneto trying to survive in Auschwitz. He meets Xavier, a young soldier, during the liberation of the camp. He hunts down the Nazi war criminals who tortured him, and this lust for vengeance fuck u him and Xavier into enemies.
In May 2006, Ian McKellen said he would reprise the role using the computer-generated facelift applied to him in the prologue of X-Men: The Last Stand. Lauren Shuler Donner stated that the film would need McKellen to anchor the story, which would take place in flashbacks. With Goyer's hiring in 2007, it was said actors in their twenties would play the characters. McKellen reiterated his hope to open and close the film in July 2008.
The film was planned to shoot in Australia for a 2009 release, but it was delayed by the 2007-2008 Writers Guild of America strike. In April 2008, concept art, including one of a younger Beast, was being designed. In June 2008 the X-Men Origins prefix also applied to Wolverine was confirmed, and the project was seeking approval to film in Washington, D.C. By December 2008, Goyer said filming would begin if Wolverine was successful. The story was moved forward to 1962, and involves Xavier and Magneto battling a villain.
Ian McKellen confirmed that he would not be reprising his role as Magneto, citing his age as a barrier. In 2009, X-Men's producer Lauren Shuler Donner stated that the movie may never be made. Donner also said that "the studio has a wealth of potential stories, and they have to stand back and decide which ones to make. And Magneto, I think, is at the back of the queue. Maybe it'll get made in five years – who knows?" Both Donner and Bryan Singer have stated that Magneto will probably not be produced, as the plot of X-Men: First Class "supersedes" the story of the planned film. After X-Men: First Class was released in 2011, it became official that a Magneto spin-off prequel was no longer planned.