Purple Wedding

"Given the opportunity, what do we do to those who've hurt the ones we love?"

- Petyr Baelish as his reason for orchastrating Joffrey's death.

The Purple Wedding is an event in the War of the Five Kings that leads to the death of King Joffrey Baratheon at the wedding feast to his new queen, Margaery Tyrell. Mere hours after their wedding ceremony in the Great Sept of Baelor, King Joffrey is poisoned during the wedding feast. Joffrey's uncle, Tyrion Lannister, is arrested for the murder, though the actual orchestrators are Lord Petyr Baelish and Lady Olenna Tyrell.

Prelude
"War is war, but killing a man at a wedding? Horrid. What sort of monster would do such a thing?"

- Olenna Tyrell to Sansa Stark

With House Lannister standing triumphant over its enemies after the Battle of the Blackwater and the Red Wedding, Joffrey is to cement his family's victory by marrying Margaery Tyrell, securing the support of the powerful House Tyrell. The marriage ceremony is conducted by the High Septon at the Great Sept of Baelor, as befits a royal wedding.

During the feast, Margaery attempts to make a charitable gesture by ordering that the leftovers of the feast be given the poor, with Joffrey's approval. However Cersei, desperate to prove that Margaery has not cast aside her authority as Queen, privately orders Grand Maester Pycelle to have the scraps given to the dogs.

The feast continues, Olenna Tyrell approaches Sansa Stark, expressing her condolences for the fate of her family. She straightens Sansa's hair and necklace (a gift from Dontos Hollard), while discreetly removing one of the stones from her necklace without Sansa noticing. What Olenna was truly doing was retrieving a crystalized form of a deadly poison called "the strangler" that was built into the design of the necklace. Tyrion arrives, and Olenna suggests her husband take her to Highgarden one day, saying she would enjoy her stay there.

Joffrey makes a small speech about the importance of the Royal Wedding and the end of the War of the Five Kings, only to introduce a mock play of "his" victory over the rival claimants to the Iron Throne and the pretenders seeking to secede from the realm. All the players are dwarfs, so Joffrey mockingly tries to coerce Tyrion into joining them. Tyrion carefully evades this demand, but at the same time insults Joffrey by subtly referencing Joffrey's cowardice at the Battle of Blackwater. Furious at the slight, Joffrey stalks over and empties his wine goblet onto his uncle's head. His actions are observed with increasing and obvious disgust by his bride, the guests, and even his mother and grandfather. Joffrey then declares he is thirsty and wants Tyrion to be his new cup bearer. He offers him the cup to fill, then drops it and kicks it under the table, but Sansa picks it up for Tyrion. Tyrion fills it but silently refuses to kneel to Joffrey, prompting Joffrey to repeat the demand in increasing, petulant rage. Margaery distracts him by indicating the arrival of the traditional pigeon pie, and Joffrey takes a gulp of the wine from the goblet before handing it to his wife to set it on the table, close to Lady Olenna. As Joffrey cuts the pie with his Valyrian steel sword and shares some with Margaery, Tyrion and Sansa attempt to leave, but Joffrey calls them back and demands Tyrion bring him the cup again, as the dry pie is making him thirsty.

The Poisoning
"You don't think I'd let you marry that beast, do you?"

- Olenna Tyrell to Margaery Tyrell Tyrion obliges and hands Joffrey his cup. Unbeknownst to everyone, w​hile they were distracted by the pigeons coming out of the pie, Olenna slipped the poison into Joffrey's cup. After Joffrey takes a gulp, he starts coughing, and so he takes another gulp of wine to quell the cough. His coughing becomes more violent and it quickly becomes so severe that his throat closes and he cannot breathe; Margaery notices and shouts that he is choking. Lurching forward, Joffrey falls to the floor, desperately gasping for breath and convulsing so violently that it causes him to vomit. Panic erupts amongst the guests, and Lady Olenna shouts for the Kingsguard to help their King. Jaime and Cersei Lannister - Joffrey's biological parents - rush to his side to aid him, but he continues to gag, as blood runs out of his nose and his face turns grotesquely purple. With his last strength, the King attempts to point accusingly to his uncle, seemingly believing him to be the culprit. Tyrion, meanwhile, has picked up the wine goblet, sniffing it for poison. The scleras (whites) of Joffrey's eyes turn red and begin to bleed and wheezing out his last breath, he dies.

Aftermath
"You poisoned my son, your king. Take him, take him!"

- Cersei Lannister orders the arrest of Tyrion Lannister

In blind grief, the knee-jerk reaction of Joffrey's mother Cersei Lannister is to accuse Tyrion Lannister of poisoning the king. Tyrion is promptly seized by the Kingsguard.

Tommen Baratheon, Joffrey's younger brother, subsequently becomes the heir apparent; since Tommen is a submissive, quiet-natured boy quite willing to defer to the advice of his grandfather and Hand, this makes Tywin Lannister the ruler of the Seven Kingdoms in all but name.

Margaery Tyrell and her family, despite her second widowhood - which causes Margaery to wonder if she is cursed - remain very much in favor, as the Tyrell support is still vital to the Lannisters.

In the confusion of Joffrey's death, Dontos Hollard appears and calmly tells Sansa to go with him if she wants to live, and she relents. Together, they are able to slip away and flee the city, where she had been held as a prisoner since Joffrey publicly executed her father, Eddard Stark, two years before. This was a rather large blow to Lannister security, given that Sansa was the last Stark heir publicly confirmed to still be alive.

Sansa and Dontos use a rowboat to reach a waiting ship owned by none other than Petyr Baelish. After Sansa climbs aboard, Baelish promptly orders a crewmember to shoot Dontos dead with a crossbow - giving Sansa the explanation that Dontos only saved Sansa because he promised him gold, but he might later reveal the secret of her location, while a dead man will remain silent. Sansa objects until Baelish reveals the truth behind the necklace.

While later reminiscing with Margaery about Tyrion's upcoming trial, Olenna asserts her opinion that Tyrion is innocent, and implies that it was she who poisoned Joffrey in order to protect Margaery from the mental and physical abuse that Joffrey had quite clearly inflicted on Sansa whilst she was his betrothed. Olenna's decision to kill Joffrey stemmed from her previous conversation with Sansa, in which she described Joffrey as a "monster". Baelish later revealed to Sansa that he had bigger plans for the Seven Kingdoms, but betrayed the Lannisters and sided with the Tyrells since he did not trust Joffrey, and also claimed that his role in betraying the Lannisters partially stemmed from their role in the Red Wedding, where Baelish's life-long love, Catelyn Stark, was murdered.

In the books
In the A Song of Ice and Fire novels, the assassination of King Joffrey at his wedding receives no name, unlike the Red Wedding, and is simply referred to as "Joffrey's wedding". The term "Purple Wedding" is a fan-term referring to the wine used to assassinate Joffrey and the fact that purple is a color associated with royalty; and, of course, to draw a parallel with the infamous Red Wedding. The nickname became so popular that even George R.R. Martin and the HBO production team have been known to use it. As Martin explained in an interview with TV Guide, "It's what the fans call the Purple Wedding, based on the color of the wine, which plays a big part."

His death is slightly different in the books. Instead of taking place outside the Red Keep, the wedding feast takes place inside the Red Keep itself, with Joffrey, Margaery and their families seated near the Iron Throne. In addition, Jaime doesn't return to King's Landing until shortly after the events. As Joffrey chokes to death, he claws repeatably at his throat in a desperate bid to get air, leaving bloody gashes.

Joffrey's death had been prophesied by an old woods witch and collaborator of the Brotherhood Without Banners known as the Ghost of High Heart: "I dreamt of a maid at a feast with purple serpents in her hair, venom dripping from their fangs".

When Stannis Baratheon is informed about Joffrey's death, he comments "Weddings have become more perilous than battles, it would seem".