X-Men: The Last Stand is a 2006 superhero film based on the X-Men comic books published by Marvel Entertainment Group. It is the sequel to X2, as well as the third installment in the X-Men film series.