After months of speculation, “Game of Thrones” has finally revealed the fate of fan favorite Jon Snow.

(Spoiler alert: Do not read until you’ve watched the second episode of season six of “Game of Thrones,” titled “Home.”)

The cast and creators have long insisted that “Jon Snow is dead” repeatedly in various interviews leading up to the sixth season premiere.

But near the end of the second episode, Davos Seaworth (Liam Cunningham) convinces a reluctant Melisandre (Carice van Houten) to work her magic to resurrect Jon Snow (Kit Harington) — the exact miracle fans have long been hoping for. “Do you know of any magic that could help bring him back?” he asks her.

She’s lost her faith, but he pleads his case. “I’m not asking the Lord of Light for help,” he says. “I’m asking the woman who showed me that miracles exist.”

So she washes Jon’s body, cuts his hair, trims his beard, and recites a long incantation.

And at first, it seems that her elaborate efforts have failed, and everyone mournfully leaves the room where his body is being held. But then Ghost, his direwolf, perks up — and Jon opens his eyes, gasping for breath.

“Davos has no love lost for Melisandre,” says executive producer D.B. Weiss in HBO’s post-show. “But he’s seen what she’s capable of. He’s seen her do many impossible things. He’s not a big fan of her god. He’s not a big fan of her program. There’s certainly nothing to lose at this point. If it doesn’t work, then it doesn’t work.”

“For Melisandre, she comes into it with great doubts,” adds executive producer David Benioff. “She is someone who was a true believer, who was an absolute devotee of the Lord of Light, and the events of the last many episodes have shaken that faith. But she still believes in him. She just doesn’t know if he believes in her. And so she comes to Jon Snow’s body with the tiniest hope that maybe if she says the right words, if she says them with enough belief, with enough passion, the Lord will listen to her.”

But as the walkout begins, it all comes down to Ghost in the end, says Benioff. “Ghost, he’s known Jon longer than any of these people have,” he says. “All of these wolves have a strange and deep connection with their Stark counterparts. Ghost has a sixth sense when it comes to Jon Snow and when Jon’s in danger and when he might be coming back.”

Needless to say, social media exploded with the surprising reveal.