"Game of Thrones" fans are no stranger to gratuitous nudity. However, the Season 5 finale that featured Cersei's now infamous walk of shame took things to a new, very dark level.

The scene featured [SPOILER ALERT] Cersei (Lena Headey) stripped naked and forced to walk from her imprisonment in Flea Bottom to the castle in King's Landing. After confessing her sins to the High Sparrow (Jonathan Pryce), he forced her to make the nude trek through a gauntlet of furious citizens spitting, yelling and taunting the once proud Lannister Queen. While the scene had a visceral and lasting effect on those that watched it, the logistics of actually filming it were mind boggling.

According to CinemaBlend, the shoot in Croatia ran into trouble when the local Church of St. Nicholas realized that a naked actress would be present on its property. That forced production to move to the other side of the town they were filming in. From there, the name of the game was security. HBO hired 200 security guards to make sure no one was able to make it to the set that wasn't supposed to and all cell phones were confiscated to ensure no photos leaked. In total, Cersei's walk of shame reportedly cost roughly $200,000.

"As for the walk itself, we were shooting in the middle of Dubrovnik, which is quite a big tourist facility and the walled city in Croatia has millions of tourists travel through, around and above it along the walls throughout the year. For us to control part of the city without any cameras or onlookers that could spoil what we were doing, I was impressed," episode director David Nutter said in an interview with the International Business Times.

While the nuts and bolts of actually making this scene something that could be filmed managed to fall into place, it would have been nothing without the stellar performance of actress Lena Headey. The actress recently spoke to Entertainment Weekly to reveal how difficult it was to put herself in her character's mindset during that awful moment.

“It’s not hard when people are screaming at you and you look like shit and you’re being f–king humiliated to figure out how that would feel,” she said. “There’s a part of you that’s f–king terrified. I can’t even imagine people wanting your blood. Cersei has done wrong, but she doesn’t really deserve this.”

In the same article, show co-creator David Benioff said he watched the actress go to a dark place in order to get the necessary emotion that the scene demanded.

How do you think Cersei's walk of shame turned out? Comment below or tweet your thoughts to @TylerMcCarthy.