is successful in curing Jorah, who is discharged from the Citadel. Ebrose is grudgingly impressed, but as punishment for Sam's disobedience tasks him to transcribe papers in danger of decomposing. Sam overhears Ebrose and several other maesters discussing a warning sent by Bran about the White Walkers' march on the Wall, and is dismayed by the maesters' skepticism. While reading the papers in Sam's quarters, Gilly discovers from a recently-deceased High Septon's journal that Rhaegar Targaryen had his marriage to Elia Martell annulled and married Lyanna Stark in secret, but Sam does not realize the significance of this information due to Gilly's having mispronounced Rhaegar. Annoyed at being unable to help in the battle against the White Walkers from the Citadel, Sam steals scrolls pertaining to the White Walkers and leaves Oldtown with Gilly and Little Sam. Sam and his family arrive at Winterfell in the season finale, where Sam is reunited with Bran. When Bran tells Sam that Jon is the bastard son of his aunt Lyanna Stark with Rhaegar Targaryen, Sam recalls the record detailing the annulment Rhaegar received in order to marry another woman and tells Bran of his discovery. Bran uses his greenseeing abilities to witness the wedding, and discovers that Jon is the trueborn son of Rhaegar Targaryen and Lyanna Stark, heir to the Iron Throne. Season 8 Sam is approached by Daenerys Targaryen, who thanks him for saving Jorah's life. However, Sam is grief-stricken when Daenerys reveals that she executed Randyll and Dickon for refusing to pledge fealty to her. Bran tells Sam to reveal to Jon his true parentage. As the preparations are being made for battle against the approaching army of White Walkers, Sam presents the Valyrian Steel sword of House Tarly, Heartsbane, to Jorah. Sam participates in the battle against the undead and is saved by Edd. After witnessing Edd being killed by a wight, Sam flees back into Winterfell. He ultimately survives the Long Night and participates in the funeral ceremony afterwards. When Jon travels south with Daenerys' army, Sam bids him farewell; it is revealed that Gilly is pregnant with Sam's son. Westeros is left without a ruler when, after Daenerys wrests control of King's Landing from Cersei Lannister, she burns the surrendered populace of the city, during which Cersei is also killed. Jon fails to dissuade Daenerys from further destruction and ultimately assassinates her. Following Tyrion Lannister's arrest