David Goyer will direct Magneto, the X-Men spinoff movie that will center on the villain played by Ian McKellen, for 20th Century Fox and Marvel Studios, Variety reported.
Magneto is the second X-Men spinoff to go into production; the first was Wolverine, based on a script by David Benioff, which will star Hugh Jackman as the steel-clawed mutant.
Goyer will develop a Magneto script that was written by Sheldon Turner.
McKellen's participation in Magneto will likely be limited, since the film is an origin story. In a storyline hinted at by the original X-Men films, Magneto comes to grips with his mutant ability to manipulate metal objects as he and his parents try to survive in Auschwitz. Magneto meets Professor Xavier (played as the wheelchair-bound mutant leader by Patrick Stewart) when the latter is a soldier liberating the concentration camp.
Magneto hones his powers by hunting down and killing Nazi war criminals who tortured him, and his lust for vengeance turns Xavier and Magneto into enemies. Both characters will be played by actors in their 20s.
Goyer—who directed Blade: Trinity and whose new film, The Invisible, opens April 27—wrote the Blade films for Marvel and Batman Begins for Warner Brothers.