At the beginning of Qara Yusuf's reign, the Qara Qoyunlu established an alliance with the Jalayirid dynasty in Baghdad and Tabriz against Aq Qoyunlu. However, he was soon captured and jailed in Suşehri. Not long after, he was released after his aunt Tatar Hatun paid ransom to Qara Yuluq.[4] Soon Jalayirids and Qara Qoyunlu both were threatened by the Timurids from the east.