Question: why did maester luwin die?
Answer: Luwin is a Maester of the Citadel and serves as the Maester of Winterfell, serving the lords of House Stark. He is mercy killed by Osha after the Sack of Winterfell.