Fox has pulled the plug on “Wayward Pines,” the drama series from filmmaker M. Night Shyamalan, after two seasons.

The mystery serial that aired in the summer of 2015 and 2016 hasn’t been on the air in nearly 18 months. But Fox executives last year suggested during the Television Critics Association press tour that it might return for a third installment.

Shyamalan directed the pilot and shepherded the series with original showrunner Chad Hodge about a Secret Service agent who discovers strange happenings in a small Idaho town. “Stranger Things” creators Matt Duffer and Ross Duffer worked on the first season of the show as co-exec producers.

“Wayward Pines” hailed from 20th Century Fox TV and exec producers Donald De Line, Anna Fricke, Mark Friedman, Ashwin Rajan, and Shyamalan.

TVLine first reported the news of “Wayward Pines’ ” cancellation.