content: 
  ===Season 6===
  After a period of captivity, Margaery is permitted to visit Loras in his cell. She discovers that he is beginning to break under the Faith's questioning, and that the meeting is a ploy to break her too. Jaime Lannister leads the Tyrell army on the Sept of Baelor to secure Margaery's release, but it is revealed that she has been absolved, by convincing Tommen to forge an alliance between the Faith and the Crown. To placate Cersei, Margaery surreptitiously convinces Olenna to return to Highgarden, subtly indicating that she is still loyal to House Tyrell.
  Margaery persuades the High Sparrow, the leader of the Faith, to release Loras if he surrenders his claim as heir of House Tyrell and joins the Faith. However, when Cersei fails to arrive for her trial Margaery deduces Cersei is plotting something. Panicking, she desperately tries to convince the High Sparrow to evacuate the Sept of Baelor, but the High Sparrow refuses and has the Faith Militant bar the exits. Moments later, wildfire set beneath the Sept by Qyburn, on Cersei's orders explodes. Margaery is killed, along with hundreds of others present. Her death, and those of her brother and father, lead Olenna to accept a proposal by the Sand Snakes (who currently lead the Reach's ancient rival, Dorne) in supporting Daenerys Targaryen's invasion of Westeros.