content: 
  === Filming ===
  The episode was directed by Miguel Sapochnik. This was his final episode of the series.
  For the filming of the episode, the city of Dubrovnik (the stand-in for King's Landing) was recreated on the backlot of their Belfast set. Filming Varys's death scene ultimately ended up taking seven months as rain kept postponing the shoot.
  In a promotional photo of the scene in which Jaime and Cersei embrace at the Red Keep, his right hand is visible instead of the metallic prosthetic the character received in season 4. In the actual episode, only the metallic hand is seen. The error in the image garnered attention in light of the previous episode's coffee cup mistake.