Professor Charles Francis Xavier, also known simply by his codename Professor X, is a fictional character primarily portrayed by Patrick Stewart, James McAvoy, and Harry Lloyd in 20th Century Fox's X-Men franchise and the Marvel Cinematic Universe (MCU) franchise produced by Marvel Studios, based on the Marvel Comics character of the same name created by Stan Lee and Jack Kirby. In the film series' continuity, Xavier is a mutant activist and founder of the Xavier School for Gifted Youngsters, intended to house displaced or discriminated mutants while acting as an educational and training ground for cultivating their powers. With the assistance of several of his school's alumni, he eventually forms and leads a mutant strike force known as the X-Men, dedicated to carrying out his initiative for a peaceful co-existence between mutants and humanity, the latter of whom express significant phobia towards them. He is often depicted as kind, empathetic and wise in his ability to relate to his mutant brethren, and believes in a future where his race is fully welcomed into society at large, contrasted by his former friend Erik Lensherr, who works to establish mutants as dominant over humans, due to his jaded views on their co-existence being amplified by his experiences as both a mutant and Holocaust survivor during World War II. As such, Xavier's X-Men often oppose Lensherr's Brotherhood of Mutants in working towards their respective goals. In the distant future in a darker alternate timeline, Xavier would end up accidentally killing a large number of mutants, including several X-Men, due to a telepathically-induced seizure, inadvertently putting his own race at risk of extinction, and leaving him to be cared for by a world-weary James "Logan" Howlett, who is in turn assisted by him in escorting a young mutant named Laura across the Canadian border while being pursued by the Reavers, led by Donald Pierce and Zander Rice. While settling down on their objective, Xavier is unceremoniously murdered by X-24, a genetically enhanced clone of Logan created by the Alkali Corporation and Transigen Project following Laura's escape. Xavier has been a central figure of the film series, appearing in eleven live-action feature films and one television series. Patrick Stewart plays him in the X-Men films X-Men, X2, X-Men: The Last Stand, X-Men Origins: Wolverine, The Wolverine, and Logan, while James McAvoy stars as a younger Xavier in X-Men: First Class, X-Men: Apocalypse, Deadpool 2 and