Flag of the Aq Qoyunlu
The Khanate at its greatest extent
|Capital||Tabriz (after 1468)|
|-||1378–1435||Kara Yuluk Osman|
|-||1501–1501||Murad ibn Ya'qub|
|Part of a series on the|
|History of Azerbaijan|
|History of Greater Iran|
|Until the rise of modern nation-states|
The Ağ Qoyunlu or Ak Koyunlu, also called the White Sheep Turkomans (Persian/Azerbaijani: آق قویونلو), was a Sunni Oghuz Turkic tribal federation that ruled parts of present-day Eastern Turkey, Armenia, Azerbaijan, northern Iraq, and Iran from 1378 to 1501.
According to chronicles from the Byzantine Empire, the Aq Qoyunlu were present in eastern Anatolia from at least 1340, and most of their leaders, including the dynasty's founder, Uzun Hassan, married Byzantine princesses.
The Aq Qoyunlu Turkomans first acquired land in 1402, when Timur granted them all of Diyar Bakr in present-day Turkey. For a long time, the Aq Qoyunlu were unable to expand their territory, as the rival Kara Koyunlu or "Black Sheep Turkomans" kept them at bay. However, this changed with the rule of Uzun Hassan, who defeated the Black Sheep Turkoman leader Jahān Shāh in 1467.
After the defeat of an Ilkhanate leader, Abu Sa'id, Uzun Hassan was able to take Baghdad along with territories around the Persian Gulf. He expanded into Iran as far east as Khorasan. However, around this time, the Ottoman Empire sought to expand eastwards, a serious threat that forced the Aq Qoyunlu into an alliance with the Karamanids of central Anatolia.
As early as 1464, Uzun Hassan had requested military aid from one of the Ottoman Empire's strongest enemies, Venice, however, despite Venetian promises, this aid never arrived, and as a result, Uzun Hassan was defeated by the Ottomans at the Battle of Otlukbeli in 1473, though this did not destroy the Aq Qoyunlu.
When Uzun Hassan died early in 1478, he was succeeded by his son Khalil Mirza (Sultan Khalil), but the latter was defeated by a confederation under his younger brother Ya'qub at the Battle of Khoy in July.
Ya'qub, who reigned from 1478 to 1490, sustained the dynasty for a while longer. However, during the first four years of his reign there were seven pretenders to the throne who had to be put down. Following Ya'qub's death, civil war again erupted, the Aq Qoyunlus destroyed themselves from within, and they ceased to be a threat to their neighbors.
The Safavids, who were Shi'i Muslims, began to undermine the allegiance of many Aq Qoyunlu. The Safavids and the Aq Qoyunlu met in battle at Nakhchivan in 1501, and the Safavid leader Ismail I forced the Aq Qoyunlu to withdraw.
In his retreat from the Safavids, the Aq Qoyunlu leader Alwand destroyed an autonomous splinter Aq Qoyunlu state in Mardin. The last Aq Qoyunlu leader, Murad, brother of Alwand, was also defeated by the same Safavid leader. Though Murād briefly established himself in Baghdad in 1501, he soon withdrew back to Diyar Bakr, signaling the end of the Aq Qoyunlu rule.
The leaders of Aq Qoyunlu were from the Begundur or Bayandur Oghuz clan and were considered descendants of the semi-mythical founding father of the Oghuz, Oghuz Khan. The Bayandurs behaved like statesmen rather than warlords and gained the support of the merchant and feudal classes of South Caucasus (present day Azerbaijan).
With the conquest of Iran, not only did the Aq Qoyunlu center of power shift eastward, but Iranian influences were soon brought to bear on their method of government and their culture. In the Iranian provinces Uzun Hassan maintained the preexisting administrative system along with its officials, whose families had in some cases served under different dynasties for several generations. There were only four top civil posts, all held by Iranians, in Uzun Hassan's time: those of the vizier, who headed the great council (divan); the mostawfi al-mamalek, who was in charge of the financial administration; the mohrdar, who affixed the state seal; and the marakur "stable master", who looked after the royal court.
In letters from the Ottoman Sultans, when addressing the kings of Aq Qoyunlu, such titles as Arabic: ملك الملوك الأيرانية "Iranian King of Kings", Arabic: سلطان السلاطين الإيرانية "Iranian Sultan of Sultans", Persian: شاهنشاه ایران خدیو عجم Shåhanshåh Irån Khadiv Ajam "Shahanshah of Iran and Ruler of Persia", Jamshid shawkat va Fereydun råyat va Dårå deråyat "Powerful like Jamshid, flag of Fereydun and wise like Darius" have been used. Uzun Hassan also held the title Padishah-i Iran "Padishah of Iran", which was re-adopted again in the Safavid times through his distaff grandson Ismail I, the founder of the Safavid dynasty.
Ahmad-beg Aq Qoyunlu 
Amidst the struggle for power between Uzun Hassan's grandsons Baysungur (son of Yaqub) and Rustam (son of Maqsud), their cousin Ahmad-beg appeared on the stage. Ahmad-beg was the son of Uzun Hassan's eldest son Oghurlu Muhammad, who, in 1475, escaped to Ottoman Turkey. Ottoman Sultan Mehmed II received Oghurlu Muhammad with kindness and gave him his daughter, of whom Ahmad-beg was born.
According to Hasan Rumlu's Ahsan al-tavarikh, in 1496-7 a certain Hasan Ali Tarkhani went to Ottoman Turkey to tell Sultan Beyazid II that Azerbaijan and Persian Iraq were defenceless and suggested that Ahmad-beg, heir to that kingdom, should be sent there with Ottoman troops. Beyazid agreed to this idea, and by May 1497 Ahmad-beg faced Rustam near Araxes and defeated him.
See also 
- Bosworth, Clifford (1996) The New Islamic Dynasties: A Chronological and Genealogical Manual (2nd ed.) Columbia University Press, New York, ISBN 0-231-10714-5
- Morby, John (2002) Dynasties of the World: A Chronological and Genealogical Handbook (2nd ed.) Oxford University Press, Oxford, England, ISBN 0-19-860473-4
- Woods, John E. (1999) The Aqquyunlu: Clan, Confederation, Empire (2nd ed.) University of Utah Press, Salt Lake City, ISBN 0-87480-565-1
- Historical dictionary of the Kurds, Michael M. Gunter,page 29, 2010
- Historical dictionary of the Kurds, Michael M. Gunter, page 29, 2010
- Minorsky, Vladimir (1955). "The Aq-qoyunlu and Land Reforms (Turkmenica, 11)". Bulletin of the School of Oriental and African Studies, University of London 17 (3): 449. doi:10.1017/S0041977X00112376.
- Robert MacHenry. The New Encyclopædia Britannica, Encyclopædia Britannica, 1993, ISBN 0-85229-571-5, p. 184.
- Woods, John E. (1999) The Aqquyunlu: Clan, Confederation, Empire, University of Utah Press, Salt Lake City, p. 128, ISBN 0-87480-565-1
- Woods, John E. (1999) The Aqquyunlu: Clan, Confederation, Empire, University of Utah Press, Salt Lake City, p. 125, ISBN 0-87480-565-1
- C.E. Bosworth and R. Bulliet, The New Islamic Dynasties: A Chronological and Genealogical Manual , Columbia University Press, 1996, ISBN 0-231-10714-5, p. 275.
- Charles van der Leeuw. Azerbaijan: A Quest of Identity, a Short History, Palgrave Macmillan, ISBN 0-312-21903-2, p. 81
- Rosemarie Quiring-Zoche, "Aq Qoyunlu", Encyclopedia Iranica.
- Jean Aubin. "Etudes Safavides: Shah Ismail I et les notables de l'Iraq Persan", JESHO 2, 1959, pp. 37-81.
- Muʾayyid S̲ābitī, ʻAlī (1967). Asnad va Namahha-yi Tarikhi (Historical documents and letters from early Islamic period towards the end of Shah Ismaʻil Safavi's reign.). Iranian culture & literature (46). Kitābkhānah-ʾi Ṭahūrī., pp. 193, 274, 315, 330, 332, 422 and 430. See also: Abdul Hussein Navai, Asnaad o Mokatebaat Tarikhi Iran (Historical sources and letters of Iran), Tehran, Bongaah Tarjomeh and Nashr-e-Ketab, 2536, pages 578,657, 701-702 and 707
- H.R. Roemer, "The Safavid Period", in Cambridge History of Iran, Vol. VI, Cambridge University Press 1986, p. 339: "Further evidence of a desire to follow in the line of Turkmen rulers is Ismail's assumption of the title 'Padishah-i-Iran', previously held by Uzun Hasan."
- Vladimir Minorsky. "The Aq-qoyunlu and Land Reforms (Turkmenica, 11)", Bulletin of the School of Oriental and African Studies, University of London, 17/3 (1955): 458.