A film based on Marvel Comics is X-Men: Days of Future Past.
Michael Fassbender . In 2011 , Fassbender debuted as the Marvel Comics antihero Magneto in X-Men : First Class , and went on to share the role with Ian McKellen in X-Men : Days of Future Past ( 2014 ) , and reprise it again in X-Men : Apocalypse ( 2016 ) . X-Men : Days of Future Past is a 2014 American superhero film based on the fictional X-Men characters that appear in Marvel Comics . The story , inspired by the 1981 Uncanny X-Men storyline `` Days of Future Past '' by Chris Claremont and John Byrne , focuses on two time periods , with Wolverine traveling back in time to 1973 to change history and prevent an event that results in doom for both humans and mutants . The film features an ensemble cast , including Hugh Jackman , James McAvoy , Michael Fassbender , Jennifer Lawrence , Halle Berry , Anna Paquin , Ellen Page , Peter Dinklage , Ian McKellen and Patrick Stewart .