sentences:  Pope Gregory IX had ordered that no one collaborate with Frederick, who was at the time excommunicate, but both bishops ignored the papal orders and worked closely with Frederick's agents and Frederick himself.The financial resources both bishops brought were especially appreciated by the crusaders.Both bishops witnessed the treaty on 18 February 1229 with the Sultan of Cairo that restored Jerusalem to the Christians, the Treaty of Jaffa.