Bayram Khwaja

Bayram Khwaja Yiwa (Azerbaijani: Bayram xoca Yıva) was the founder of the Qara Qoyunlu, a Muslim Turkoman[1][2][3] tribal confederation, that in a short space of time came to rule the territory comprising present-day Azerbaijan, Georgia, Armenia, northwestern Iran, eastern Turkey, and northeastern Iraq from about 1374 to 1468.

Under the Mongol rule, Qara Qoyunlu's were subject to the Oirats, and their kishlaks (winter quarters) were near Mosul, while yaylaks were located in the Van region, specifically Erciş.

Their head, Pīr Muḥammad was killed by one of his emirs, Husein Beg, in 1350, who was murdered the next year by Bayram Khwaja, usurping control of the territory.

[6] Bayram is first recorded in service to Huseyin beg, a Turkmen warlord who killed Pir Muhammed of Sinjar and usurped his city.

Despite Bayram's help, the Kara Koyunlus suffered heavy casualties and were subjugated in 1374, becoming vassals of the Jalairid Sultanate, which was centered in Baghdad and Tabriz.