She conceived a plan to ruin Margaery by framing her to the Church for sleeping with one of Cersei’s guardsmen.