of loyalty, but Joffrey executes Eddard anyway, in front of Sansa. Sansa is now effectively a hostage in King's Landing and finally sees Joffrey's true nature, after he forces her to look at the tarred head of her now-deceased father. A Clash of Kings Sansa is a hostage in King's Landing, and has learned to be outwardly loyal to King Joffrey to avoid severe physical abuse. At the celebration for Joffrey's name day, she ostensibly saves the life of Ser Dontos Hollard, when he shows up late and inebriated, begging Joffrey to spare him, in turn winning Dontos' loyalty. Sansa is routinely beaten by Joffrey's guards. After her brother has won a battle against Joffrey's maternal family, she is publicly beaten and has her clothes torn. Tyrion Lannister intervenes on her behalf, and Sandor Clegane gives her his cloak to cover herself. Later, Sandor Clegane saves Sansa from a riot in King's Landing. During the Battle of Blackwater Bay, all of the highborn ladies in King's Landing seek refuge within a doubly secure, moated chamber within the Red Keep. There, Queen Cersei drunkenly mocks and berates Sansa, then flees when the tide of the battle falls, while Sansa stays to give comfort to the ladies before retreating to her own quarters. There she finds a drunken Sandor Clegane, who offers to take her away from any imminent danger and the Lannisters themselves. She declines, but he insists she sing for him, at dagger point, then rips his cloak off and gives it to her a second time before fleeing the city. When Sansa awakens, the battle is over. House Lannister has won, but her betrothal to Joffrey is soon ended, so as he may marry Margaery Tyrell whose family just helped turn the tide of battle. However, Joffrey informs Sansa that he still has use for her when married, and to "expect a nightly visitor for a long while". A Storm of Swords In the third book, Sansa is invited to dine with Margaery and her grandmother, Olenna Redwyne. The two women seek to learn the true nature of Joffrey Baratheon now that he and Margaery are betrothed. In turn, Olenna suggests that Sansa should marry her grandson Wilas Tyrell. Sansa reveals the marriage plan to Ser Dontos, who warns her of the Tyrells; however, Sansa develops a close friendship with Margaery and is excited about becoming a part of