Joffrey sets aside his earlier betrothal to Sansa Stark in favor of Margaery Tyrell, cementing an alliance between the Lannisters and House Tyrell. At Tyrion and Sansa's wedding, he humiliates his uncle and is outraged when his uncle threatens him after he commands him to consummate their marriage. Tyrion only avoids punishment when his father Tywin assures Joffrey that his uncle was drunk and had no intention of threatening the king. Later after the events of the "Red Wedding", Joffrey gleefully plans on serving Sansa her recently deceased brother's head. His uncle Tyrion and his grandfather Tywin are outraged and the former threatens Joffrey once again. After another disagreement, Tywin sends Joffrey to his room, much to Joffrey's chagrin. During his wedding feast, he repeatedly torments Tyrion and Sansa, presenting an offensive play about "The War of the Five Kings", with each of the kings played by dwarves to humiliate his uncle, whom he also forces to act as his cupbearer. At the conclusion of the dinner, however, Joffrey dies from poisoned wine. Tyrion is falsely accused and arrested by Cersei in A Storm of Swords (2000) but it is later revealed that Lady Olenna Tyrell and Lord Petyr Baelish were the true perpetrators.