The dispute between the two factions in the kingdom affected the election of a new Patriarch in 1180. When Patriarch Amalric died on 6 October 1180, the two most obvious choices for his successor were William of Tyre and Heraclius of Caesarea. They were fairly evenly matched in background and education, but politically they were allied with opposite parties, as Heraclius was one of Agnes of Courtenay's supporters. The canons of the Holy Sepulchre asked the king for advice, and Heraclius was chosen through Agnes' influence. There were rumours that Agnes and Heraclius were lovers, but this information comes from the partisan 13th-century continuations of William of Tyre's history, and there is no other evidence to substantiate such a claim.