 Stewart has played the role in seven feature films ("X-Men", "X2", "", "", "The Wolverine", "" and "Logan") and voiced the role in several video games ("X-Men Legends", "X-Men Legends II", and "").Stewart announced that he was leaving the "X-Men" film franchise after "Logan", which was the final time he played the role.In 2011, Stewart appeared in the feature-length documentary "The Captains" alongside William Shatner (who played "Star Trek" Captain James Kirk) – Shatner also wrote and directed the film.