New Line's upcoming film adaptation of Neil Gaiman's The Sandman has found its scriptwriter in Eric Heisserer.

According to The Hollywood Reporter, Heisserer—who penned the prequel to The Thing and the remake of Nightmare on Elm Street—is officially on board to handle the translation of David Goyer's treatment.

Joseph Gordon-Levitt will both direct and star in the film, which New Line hopes will serve as the start of a trilogy.

For those unfamiliar with Gaiman's beloved graphic novel series, The Sandman centers around the Lord of Dreams—aka Morpheus—who is one of the seven Endless.

The comic blends elements of fantasy, mythology and horror, and serves as Vertigo's flagship comic franchise.

For more on Gordon-Levitt's upcoming movie—which shifted from Warner Bros. to New Line last year—find out what its director had to say about the challenges involved in adapting The Sandman to film.