Baldwin I of Jerusalem the Armenian Abu'l-Garib the commander of Bijerik, an important fort controlling the road between Edessa and Turbessel. The main crusader army captured Jerusalem on 15July 1099. A week later, Godfrey of Bouillon was elected ruler of the city, but he was never crowned king. Baldwin decided to complete his pilgrimage and left Edessa for Jerusalem in November. At Buluniyas, he joined the pilgrims who had departed from Antioch with Bohemond I and the papal legate, Daimbert of Pisa. Attacks by Muslim troops, fatigue and diseases caused heavy casualties during the journey, but most of the pilgrims reached Jerusalem on 21December.
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