Now, here's a twist: M. Night Shyamalan is finally making a sequel to his 2000 superhero thriller "Unbreakable" — and it's also a sequel to his recent horror flick "Split."

The film is titled "Glass" and the director calls it a "crazy comic book thriller." It will bring together "Unbreakable" stars Bruce Willis and Samuel L. Jackson and "Split" star James McAvoy.

Shyamalan shared the news on Twitter:

"Split" was a huge hit, earning more than $275 million worldwide on just a $9 million budget. And it followed on the heels of another hit, 2015's "The Visit." So, Shyamalan is on a hot streak.

So, how can "Glass" be a sequel to both movies? SPOILERS AHEAD!

In "Split," McAvoy played a kidnapper named Kevin Wendell Crumb with multiple personalities, including "The Beast," with superhuman strength. At the end of the movie, customers at a diner watch news coverage of the crimes and one remarked Kevin's similarity to another criminal who was confined to a wheelchair. Sitting next to that patron is David Dunn (Willis), who reminded her that his name was "Mr. Glass" (Jackson).

A few months ago, Shyamalan explained that he initially included Kevin in "Unbreakable" but had to cut him out. Now, he can bring together the three characters as he intended.