Baldwin II of Jerusalem of Bohemond I of Antioch who had recently been captured by Danishmend Gazi. Baldwin of Boulogne summoned Baldwin from Antioch and granted him the County of Edessa. Baldwin swore fealty to Baldwin of Boulogne, who left Edessa for Jerusalem on 2October 1100. Baldwin married Morphia, the daughter of Gabriel, the Armenian lord of Melitene, which enabled him to consolidate his position among his mainly Armenian subjects. Sökmen, the Artuqid ruler of Mardin, attacked Saruj in early 1101. Baldwin attempted to relieve the town, but Sökmen routed his army, forcing him to return to Edessa. When relating these events, the Armenian
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