Following their escape from Winterfell, Sansa Stark journeys to the Wall, while Theon Greyjoy returns to the Iron Islands. In Winterfell, Ramsay Bolton secures his claim on the North by killing Roose and Walda Bolton and his new-born half-brother. At the Wall, Melisandre resurrects Jon Snow, who is reunited with Sansa; they gather loyalists and a battle ensues. Aided by the Knights of the Vale, the Starks defeat the Bolton forces. Sansa feeds Ramsay to his hounds and Jon is proclaimed the King in the North.
Beyond the Wall, Bran Stark trains with the Three-Eyed Raven but alerts the Night King, who launches an attack of White Walkers. Bran and Meera escape and are rescued by Benjen Stark. Bran subsequently has a vision to the Tower of Joy years prior, revealing that Jon is not Ned Stark's bastard but rather the child of Lyanna Stark and Rhaegar Targaryen.
At King's Landing, Jaime Lannister and the Tyrell army attempt to liberate Margaery and Loras, but Margaery capitulates to the High Sparrow and Tommen forges an alliance with the Faith. During Loras and Cersei's trial, Cersei uses wildfire to burn the Great Sept, killing the High Sparrow, Margaery, Loras, Mace, Kevan, and Lancel, while Tommen kills himself after witnessing the events. Unopposed, Cersei is crowned Queen of the Seven Kingdoms. Ellaria Sand and three of Oberyn Martell's daughters kill Doran and Trystane Martell and seize control of Dorne, and Olenna meets with Ellaria, at a summit brokered by Varys, to discuss allying with the Targaryens.