In 1460, with support from the Egyptian Mamluk sultan Sayf ad-Din Inal, James challenged her right to the throne, blockading her and her husband in the castle of Kyrenia for three years. When Charlotte fled to Rome in 1463, James was crowned King. In gratitude, he made his friend and supporter Juan Tafures Master of his Household and Titular Count of Tripoli.