content: 
  ===Writing===
  The episode was written by series co-creators David Benioff and D. B. Weiss.
  The episode was written by producers David Benioff and D. B. Weiss (their sixth and final script of the season) and directed by Alan Taylor. It was Taylor's final episode on the show until he returned for the season seven episode "Beyond the Wall". The episode covers chapters Tyrion XV, Sansa VIII, Theon VI, Arya IX, Bran VII, Daenerys IV, and Jon VIII from ''A Clash of Kings'' and the prologue and chapters Jaime I, Tyrion I, and Jon I of ''A Storm of Swords''. As a season finale, "Valar Morghulis" is a slightly extended episode.