Original sentence: Between 1342 and 1830, the Custodian was the head of the Order of the Holy Sepulchre and held the  ex officio title of Latin Patriarch of Jerusalem.In 1496, Pope Alexander VI, restored the Order of Holy Sepulchre to independent status.The Custodian ceased to be the head of the Order
Edited sentence: Between 1342 and 1489, the Custodian was the head of the Order of the Holy Sepulchre and held the  ex officio title of Latin Patriarch of Jerusalem.In 1496, Pope Alexander VI, restored the Order of Holy Sepulchre to independent status, but the Custodian ceased to be the head of the Order