Jaime returns to King's Landing with Myrcella's corpse. He orders Trystane to stay on the boat outside the city to protect him from Cersei's wrath, and sends word to Doran naming Ellaria as Myrcella's killer. After Doran receives this news, Ellaria promptly kills Doran, sends Obara and Nymeria to King's Landing to kill Trystane, and seizes control of Dorne. At Myrcella's funeral, Jaime confronts the religious leader, the High Sparrow, for having forced Cersei to walk naked through the streets of King's Landing as punishment for adultery, but is forced to stand down at the arrival of the Faith Militant. Jaime enlists the Tyrell army to march on the Sept of Baelor to secure the release of Margaery and Loras Tyrell. However, they find that Margaery has seemingly become a follower of the High Sparrow and that Tommen has forged an alliance with the Faith Militant. As punishment for taking up arms against the Faith, Jaime is removed from the Kingsguard. He is sent to Riverrun with Bronn to assist House Frey in reclaiming the castle from Brynden "Blackfish" Tully and the occupying Tully forces. After a failed parlay, Brienne arrives and implores both Jaime and the Blackfish to end the siege without bloodshed, so the Tully rebels can help Sansa Stark retake Winterfell. Brienne fails in this task, therefore Jaime tries to peacefully persuade Edmure into surrendering the castle. Seeing that Edmure refuses to cooperate, he threatens that his son will be sent to him via catapult, which finally makes him agree to his terms of surrender. Edmure is released and promptly opens the gates to the Lannisters, and Jaime manages to resolve the siege without loss of life. Jaime sees Brienne and Podrick fleeing by boat from the castle walls, but only waves a discreet farewell and does not alert his men.