"Game of Thrones"
Fans may have to wait until late 2018 or even 2019 to see the final season of “Game of Thrones.” Pictured: Emilia Clarke as Daenerys and Kit Harington as Jon. HBO

After highly publicized hacks and accidentally releasing an episode this year, HBO isn't taking any chances. To keep people guessing and avoid spoilers, “Game of Thrones” will film multiple endings, according to HBO programming president Casey Bloys.

“I know in ‘Game of Thrones,’ the ending, they’re going to shoot multiple versions so that nobody really know what happens,” Bloys said last week in a talk at his alma mater Moravian College and first reported by Morning Call. “You have to do that on a long show. Because when you’re shooting something, people know. So they’re going to shoot multiple versions so that there’s no real definitive answer until the end.”

In June 2016, HBO announced that "Game of Thrones" will air its eighth and final season next year or perhaps as late as 2019. Its seventh season wrapped up on Aug. 27 after seven episodes.

Shooting multiple endings isn’t unusual for large budget shows. AMC’s “Breaking Bad” and HBO’s “The Sopranos” both shot multiple endings.

“Finales are tough,” said Bloys. “If you think about, ‘Six Feet Under,’ well that was a pretty good finale. But if you think about ‘Seinfeld,’ if you think about ‘The Sopranos,’ if you think about ‘Breaking Bad.’ Everybody has an opinion about how a show should end.”

Production for the final six episode season will begin in October and could run as late as August 2018.

“They have to write the episodes and figure out the production schedule. We’ll have a better sense of that once they get further into the writing,” said Bloys about showrunners David Benioff and Dan Weiss to Entertainment Weekly earlier this summer.