<P> During the Battle of Blackwater Bay, all of the highborn ladies in King's Landing stay in the Red Keep with Queen Cersei who drunkenly mocks and berates Sansa . After Cersei learns that they are losing the battle, she flees and Sansa comforts the remaining women before going to her quarters . Once there she finds Sandor Clegane there who offers to take her away with him during the Battle of the Blackwater, although Sansa refuses . Before he vanishes from King's Landing, she gives him a song, and he gives her his cloak a second time . When Sansa awakens, the battle is over . House Lannister has won the battle, her betrothal to Joffrey is called off so he can marry Margaery Tyrell instead . Joffrey informs Sansa that he can still use her when he is married and to expect a nightly visitor for a long while . </P> <P> In the third book, Sansa is invited by Margaery to dine with her and her grandmother Olenna Redwyne . The two women seek to learn the true nature of Joffrey Baratheon after he and Margaery have become betrothed . In turn, Olenna suggests that Sansa should marry Willas Tyrell, brother to Margaery and grandson to Olenna . 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 her family when she marries Willas . However, when Tywin learns of the marriage plot he schemes to have Sansa's brother Robb Stark killed, knowing that would leave Sansa to inherit Winterfell and the North . He then commands his son Tyrion Lannister to marry Sansa . Tyrion is initially opposed to the marriage, but is eventually enticed by the prospect of becoming Lord of Winterfell, and so agrees to marry her . </P> <P> Sansa is shocked one morning when she is being fitted for a gown that she is to marry Tyrion that day . Joffrey taunts Sansa and acts on behalf of her father to give her away during the ceremony to add further insult . Sansa ignores Tyrion and refuses to bend as he attempts to put his cloak around her, an important marriage custom in Westeros . In turn, Joffrey commands Ser Dontos to act as a stool so that Tyrion can cloak his bride in spite of his short stature . Later Sansa dances with many lords who attempt to offer words of comfort, however when it is her turn to dance with Joffrey, he threatens to rape her after her marriage . Tyrion intervenes and states his desire to castrate Joffrey . After the wedding ceremony, Tyrion chooses not to consummate the marriage due to Sansa's lack of desire in him . It is not long before many in King's Landing come to know that the marriage was never consummated . </P> <P> It is not long after Sansa's marriage that Joffrey and Margaery are wed and afterwards there is a grand feast . At Joffrey's wedding, Joffrey is poisoned, and Cersei orders both Tyrion and Sansa to be arrested . As Joffrey begins to choke to death, Sansa manages to flee during the chaos . Once in her room, she gathers her belongings and notices that one of the amethysts from her hairnet, a gift from Ser Dontos, is missing . Sansa immediately realizes that the prince had been poisoned and starts to doubt Ser Dontos' rescue plan . Understanding that she will be implicated in the murder of Joffrey, she chooses to flee King's Landing with the knight anyway . Ser Dontos is later killed by Petyr Baelish, who reveals that he is the mastermind behind nearly all of the intrigues in the capital . He reveals that he was the one who sent Dontos to her and that Olenna took the amethyst from her hairnet . </P>

Who does sansa stark marry in the book