Part VI
To the east, the Aq Kayanlu Khanate began undermining the growing influence of the Ottomans. They asked Hungary and Venice for aid against the Ottomans, though aid was promised, it was never delivered. When Bayezid heard of this he geared for war. A powerful state on his frontiers would not do.
The Kayanlu Khan Uzun Hassan advanced to meet the Ottoman near Erzurum, along with the Dulkudris, Kara Kayanlus, Safavids and other members of the Kayanlu Confederation. The Ottomans, lead directly by Sultan Bayezid II dealt the Kayanlus a terribel blow, killing Uzun Hassan in the process. His son Khalil Mirza raced to Baghdad to claim the throne. After consolodating his position, he was met with a confederation under his brother Ya'qub Mirza. After defeating Khalil at the Battle of Khoy, Ya'qub spent the rest of his reign defeating pretenders, and ebbing the oncoming tide of the Ottomans. After Ya'qubs death, the Safavids undermined their authority and proclaimed their own state under Shah Ismail I. The Safavid hordes came south from Azerbaijan, conquering much of Persia, while the Ottomans seized the moment, crushing the Dulkudris, Qara Qayanlus, and laid seige to Baghdad itself. After several months, The power of the Aq Kayanlus crumbled after the decisive Safavid victory and thei Qizilbash allies at Nakchivan and the fall of Baghdad to the Ottomans. The Ottomans placed Hasan Ali Tarkhani, a member of the Ak Kayanlu ruling elite as a puppet ruler of Mesopotamia, keeping him under a tight military leash, as a buffer state against the rising Safavids
By the year 1501, several small skirmishes between the Safavids and the Ottomans occured, but relations remained simmering.
In the west, the Ottoman governor Serbia put down a small revolt, and the vassal ruler of Wallachia began to undermine Ottoman authority, and an expedition placed his uncle on the throne.