After Ulugh Beg's death, Ali Kuşçu went to Herat, Tashkent, and finally Tabriz where, around 1470, the Ak Koyunlu ruler Uzun Hasan sent him as a delegate to the Ottoman Sultan Mehmed II. At that time Husayn Bayqarah had come to reign in Herat but Qushji preferred Constantinople over Herat because of Sultan Mehmed's attitude toward scientists and intellectuals.