Syfy is nearing completion of a deal on a pilot order for David S. Goyer’s long-in-development Superman prequel series “Krypton.”

The series, set two generations before the destruction of Superman’s titular home planet, would tell the story of the man of steel’s grandfather as he fights to restore the family honor of the House of El after it has been shamed.

The pilot will be produced by Warner Horizon Television. Goyer — who penned the screenplays for “Batman Begins,” “Man of Steel” and “Batman v Superman: Dawn of Justice” — will write the pilot with Ian Goldberg. He will executive produce through his company Phantom Four with Damian Kindler, who will serve as showrunner. Colm McCarthy is set to direct the pilot.

While promoting his Starz series “Da Vinci’s Demons” last year, Goyer dropped hints about “Krypton.” He teased a deep connection between the project and the wider DC Comics universe, which has been mined for series such as the CW’s “Arrow” and “The Flash,” CBS’ “Supergirl” and Fox’s “Gotham,” as well as a slate of movies featuring Superman and his Justice League partners at Warner Bros.

“It involves more of the mythology than I think people realize,” Goyer said. “A lot more.”

Variety first reported that the project was in development at Syfy in 2014.