After a second defeat of Cem by Bayezid in 1482, Cem fled to Rhodes, where he was received by, Pierre d'Aubusson, Grand Master of the order of St. John of Jerusalem and a zealous opponent of the Ottoman Empire.[13] later on, D'Aubusson concluded a peace treaty with Bayezid, and then reached a separate agreement on Cem's captivity. He promised Bayezid to detain Cem in return for an annual payment of 35,000 ducats for his maintenance. Therefore, the Knights took the money and betrayed Cem, who thereafter became a well-treated prisoner at Rhodes.[14]