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 Battle of Chaldiran in 1514 and the supportive stance among the local Kurds, Selim I chose to let Idris Bitlisi and Bıyıklı Mehmed Pasha administer the area until Constatinople centralized its power in the mid 1840s.