content: 
  ====Season 7====
  Sam's early days in Oldtown are frustrating, as he is assigned to menial tasks in the Citadel. The only person who believes his account of the White Walkers' return is Archmaester Ebrose; however, Ebrose refuses to let Sam access forbidden textbooks to learn more about the White Walkers, as Ebrose does not consider them a threat serious enough to break with protocol. Sam, therefore, steals a key to take the books back to his and Gilly's quarters. In reading the books, he discovers the location of a large deposit of dragonglass in a map of Dragonstone and sends word to Jon (now King in the North) of its existence.
  Sam encounters Jeor Mormont's son Jorah, who is infected by the terminal disease greyscale. Sam discovers a cure for greyscale in an old medical text. Although Ebrose forbids him from attempting it, Sam treats Jorah anyway, out of gratitude for Jeor's saving his life. Sam 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 actually the bastard son of Rhaegar Targaryen and Lyanna Stark, Sam is reminded of the record detailing Rhaegar's receiving an annulment in order to marry another woman and tells Bran of his discovery. Bran then uses his greenseeing abilities to witness the wedding, and deduces that Jon is a trueborn Targaryen and the actual heir to the Iron Throne.