Game of Thrones star Jack Gleeson has revealed he knew the details of the Purple Wedding episode from day one. Spoiler alert!

Those who have not yet watched the latest episode of Game of Thrones and wish to avoid spoilers should turn away now.

Cork actor Jack Gleeson, who plays King Joffrey on the hit HBO show, has revealed that he knew the Purple Wedding episode would see his character's demise from the moment he signed on to star in the series.

Speaking to Entertainment Weekly he explained, "I knew from day one. When I got the part, I read the first book and before that I Googled the character summaries."

He continued, "There will be a delight that the person tormenting their favourite characters is gone, but I would like to think there's a certain sadness at the loss of the delight people take in hating a character like Joffrey."

He added that filming the scene was tough, but enjoyable, "It was tough. I suppose it's one of those things that you have no prior experience in. I've never seen anyone die. It's hard to imagine what it would be like.

"But [director] Alex [Graves] very kindly walked me through. It was fun in the end, but kind of stressful to be so focused, but acting like you're completely unfocused. Difficult, but exciting."

Gleeson's co-star, and on-screen father/uncle Nikolaj Coster-Waldau, told E! News that he'll miss Joffrey, "What I like about it is that at the very end you just see a little boy who is scared and dying and I think for all the hatred you've given Joffrey – he's a horrible little kid – you still have that, 'Oh, he's still a kid', and I think they accomplished that really well.

"And the funny thing is, he is going to be a missed character because you love to hate him!"

He added that he will miss Gleeson while filming, "The funny thing is we had a scene in episode one when he's standing in front of the statue, we shot that a month later and that was the last scene we did together. [Jack Gleeson] is such a lovely kid, so that was pretty sad, of course."

Game of Thrones continues on Sky Atlantic, Mondays at 9pm.