Baldwin V of Jerusalem contested between Baldwin IV's sister and their younger half-sister Isabella. Their extended family and leading nobles were divided in support for the two heiresses. Raymond III of Tripoli, first cousin of their father Amalric I of Jerusalem, had been "bailli" or regent for Baldwin IV while the latter was a child, but once the king came of age in 1176 his power began to recede. He had a claim to the throne in his own right, but his childlessness hindered him advancing it. Instead, he acted as a power-broker, and aided the interests of the Ibelin family. Amalric's widow (Isabella's
King of Jerusalem named Guy as "bailli". Raymond contested this, but when Guy fell out of favour with Baldwin the following year, he was re-appointed "bailli" and was given possession of Beirut. Baldwin came to an agreement with Raymond and the Haute Cour to make Baldwin of Montferrat, Sibylla's son by her first marriage, his heir, before Sibylla and Guy. The child was crowned co-king as Baldwin V in 1183 in a ceremony presided by Raymond. It was agreed that, should the boy die during his minority, the regency would pass to "the most rightful heirs" until his kinsmen – the Kings of