قراقويونلو
The conflict between Kara Koyunlu and Aq Qoyunlu had reached its zenith under the leadership of the former group named Jahan Shah and latter group named Uzun Hassan. Aq Qoyunlu and Kara Koyunlu had been vying for power and regional supremacy for most of the 14th century and 15th century. Both groups were Turkmen. Kara Koyunlu were vassals of the Jalayirid dynasty in Baghdad and Tabriz from about 1375, when the leader of their leading tribe, ruled over Mosul. Aq Qoyunlu was brought to the region by the invasions of Timur the Lame and Kara Koyunlu were uprooted from power. However, after the death of Timur, they returned and hastened the downfall of the Jalayirids whom they had once served.