 Complete the following phrase:  When Timur swept the region in 1394, he also captured Şirvan which he handed over to Qara Osman of the Aq Qoyunlu in 1402. After shortly being under Kara Koyunlu reign, Uzun Hasan recaptured the region for the Aq Qoyunlu again in 1468. The region was captured by the Ismail I 1508. After the Ottoman win in the 