Author George R. R. Martin told producers David Benioff and Dan Weiss the major plot lines (including the main ending) of the story in case he dies before completing the remaining novels.