content: 
  ===Writing===
  The episode was written by "series veteran" Bryan Cogman. This was his eleventh and final script of the series overall. For him "the biggest challenge was not writing a Wikipedia page." The episode adapts material from the unpublished novels ''The Winds of Winter'' and ''A Dream of Spring'', along with original material not published in George R. R. Martin's novels.