The Garagoyunlu Dynasty originated from Oghuz tribes that had lived in Azerbaijan since the 7th century. In the late 14th century, under the leadership of Bayram Khoja, the tribes established a strong union in Van, Turkey. The Garagoyunlu resisted Amir Timur and ended the reign of the Teymurids in Azerbaijan, establishing their capital in Tabriz. The dynasty ruled between 1392-1467, with its territory expanding under Jahanshah to include Azerbaijan, Iraq, Mazandaran, and Khorasan. However, after Jahanshah's death in a battle with the Aq Qoyunlu in 1467, the Garagoyun