<P> Cersei has Tyrion arrested after Joffrey is fatally poisoned . It is implied that she knows Tyrion's guilt is highly unlikely, but just wants to see him dead, though Jaime refuses to carry out the order . Indeed, at Tyrion's trial, it is obvious that Cersei has manipulated the entire procedure so that the witnesses give either incomplete or entirely false testimonies to implicate Tyrion and Sansa further in the murder . When Tyrion demands a trial by combat, Cersei quickly chooses Ser Gregor "The Mountain" Clegane as her champion to diminish Tyrion's chances of acquittal, and has Bronn betrothed to a noblewoman so that Tyrion cannot choose him as his champion . Cersei's wish comes true when Tyrion's champion, Oberyn Martell, is killed by Clegane, but she still refuses to marry Loras, even threatening her father with revealing the truth about her relationship with Jaime and the parentage of her children . Tywin rebuffs her threats, though he himself is killed by an escaping Tyrion soon afterwards . </P> <P> Cersei receives a threat from Dorne, where Myrcella is betrothed to Trystane Martell, and sends Jaime to Dorne to retrieve her . Tommen is married to Margaery, who tries to manipulate Tommen into sending Cersei to Casterly Rock . Fearful of losing her power, Cersei meets religious leader the High Sparrow, appointing him as the High Septon and giving him authority to re-establish the Faith Militant . In order to destabilise House Tyrell, Cersei arranges for the High Sparrow to arrest Loras for his homosexuality, with Margaery also arrested for perjury after lying to defend Loras . However, Cersei's plot backfires when Lancel, now a member of the Faith Militant, confesses to his affair with Cersei and his role in Robert's assassination, and also accuses Cersei of incest, prompting the High Sparrow to arrest her . Cersei is eventually allowed to return to the Red Keep after confessing to adultery with Lancel, but has her hair cut off and is forced to walk naked through the streets of King's Landing as atonement . Cersei returns distraught by the abuse directed at her by the smallfolk of King's Landing, but is consoled by Qyburn's successful reanimation of Ser Gregor Clegane . </P> <P> Cersei remains in the Red Keep, confined to her chambers and stripped of her authority . Though Cersei accepts Tommen's apology for his lack of action in her arrest and walk of atonement, she remains looked down upon by other members of the court . Cersei learns from Tommen that the High Sparrow plans to have Margaery do a walk of atonement before Cersei's trial and conspires with the Small Council to have the Tyrell army march on the Sept of Baelor to secure Margaery and Loras' release . Their plan backfires when it is revealed that Margaery has joined the Faith of the Seven and has convinced Tommen to merge the Faith and the Crown . Despite being stripped of her allies, Cersei opts to remain in King's Landing, having named Ser Gregor as her champion in her trial by combat . However, Tommen announces that trial by combat has been abolished and replaced by trial by the Seven . Cersei arranges for a cache of wildfire to be detonated beneath the Sept during Loras' trial, killing the High Sparrow, Margaery, Loras, and the rest of the Small Council . As a direct result of Cersei's actions, Tommen commits suicide after witnessing the explosion, leaving Cersei utterly devastated, with Maggy the Frog's prophecy finally come to fruition . With House Baratheon officially extinct (technically speaking, House Baratheon became extinct with the death of Stannis Baratheon) and no one to oppose her in King's Landing, Cersei is crowned Queen of the Seven Kingdoms . </P> <P> Despite nominally being ruler of Westeros, Cersei's grip to power is tenuous, with the Riverlands in upheaval following Arya Stark's massacre of House Frey, the Vale and the North declaring Ned Stark's bastard son Jon Snow King in the North, and Tyrion, Dorne, and the Reach all supporting Daenerys Targaryen, whose fleet has seized Dragonstone . Cersei reaches out to the King of the Iron Islands, Euron Greyjoy, to form an alliance, but rejects Euron's marriage proposal as she considers him untrustworthy . Euron later ambushes Daenerys' fleet and captures Yara Greyjoy, Ellaria and Tyene Sand and presents them as a "gift" to Cersei . She agrees to marry Euron after the war is won; however, she continues her affair with Jaime, no longer attempting to hide their relationship from their servants . Cersei imprisons Ellaria and Tyene in the dungeons, poisoning Tyene with the same poison used to kill Myrcella and keeping Ellaria alive to watch her daughter die and rot . </P>

Game of thrones what happens to cersei in the books