Maester Luwin was the maester of Winterfell under House Stark and House Greyjoy, and the tutor to Robb, Bran, Rickon Stark. Replacing Maester Walys, Luwin delivered all the children of Eddard and Catelyn Stark, as well as provided them their education, including the ward Theon Greyjoy and the bastard Jon Snow. Luwin acted as a surrogate parent for Bran and Rickon Stark after Lord Eddard left for King's Landing, Catelyn for the Eyrie, Jon to Castle Black and later Robb to war. Luwin counselled Theon after he captured Winterfell, right up until the castle's siege. In the show, Luwin intervened when Theon was betrayed by his men, only to be speared in the gut by Dagmer Cleftjaw. In the books, Luwin is speared through the gut by a Bolton knight as Ramsay sacks the castle. Either way, he slowly bleeds out in the godswood, but not before having Osha, Bran, Rickon and Hodor flee North.