Shirvanshahs

The dynasty is known for its patronage of culture, such as during the 12th-century, when their realm served as the focal point for Persian literature, attracting distinguished poets such as Khaqani, Nizami Ganjavi, Falaki Shirvani, etc.

The Shirvanshahs, throughout their history, made persistent efforts to also control Layzan, Quba, Maskat and Bab al-Abwab (Darband) to the north, and Baku to the south.

'The Compendium of Nations') of the 17th-century Ottoman historian Munejjim-bashi (died 1702), who used the now lost Arabic Ta'rikh Bab al-Abwab ('History of Darband') as source material.

[4] The first line of the Shirvanshahs were the Yazidids (also known as the Mazyadids), descended from Yazid ibn Mazyad al-Shaybani (died 801),[7] a member of the Banu Shayban tribe that was dominant in the region of Diyar Bakr in the northern Jazira.

It now comprised the minor principalities north of the Kur River, including Layzan and Khursan, whose titulature (Layzanshah and Khursanshah respectively) the Shirvanshahs had assumed.

Intermarriage with the native families of the eastern part of the South Caucasus—which may have included the historic ruling line of the former Shirvani capital of Shabaran—probably contributed to this.

The family now preferred to use names from national Iranian history and also claimed to be descended from pre-Islamic, Sasanian-era figures such as Bahram Gur (r. 420–438) or Khosrow I Anushirvan (r. 531–579).

[3][4] Records regularly mention battles between the Shirvanshahs and the "infidel" inhabitants of the central Caucasus, including the Alans, the people of Sarir, and the Christian Georgians and Abkhazians.

The Shirvanshah Fariburz I (r. 1063–1096) was soon forced to acknowledge the suzerainty of the Seljuk ruler Alp Arslan (r. 1063–1072), who at that time was near Arran following his Georgian campaign.

[4] Another Seljuk invasion of Shirvan took place during the reign of Mahmud II (r. 1118–1131), which the Georgians capitalized on by attacking Shamakhi and Darband.

For some time, Shakki, Qabala and Muqan was under direct control by the Bagrationi kings of Georgia, who even occasionally used the title of Shirvanshah.

[4] Later on, the names and family ties of the Shirvanshahs become exceedingly convoluted and uncertain in sources, with Munejjim-bashi providing an incomplete record of them, starting with Manuchihr III (r. 1120 – after 1160).

[16] In 1225, the Shirvanshah Garshasp I (r. after 1203 – 1233/34) was ordered by the Khwarazmshah Jalal al-Din Mangburni (r. 1220–1231) to pay a tribute identical to the one the Fariburz I had paid Malik-Shah I.

Baku and Shamakhi both saw the construction of many well-made buildings, including the Palace of the Shirvanshahs, a UNESCO World Heritage Site.

[20][18] Junayd's son, Shaykh Haydar, died a similar death; on 9 July 1488 he was killed during a battle near Darband by the combined forces of Farrukh Yassar and the Aq Qoyunlu ruler Ya'qub Beg (r. 1478–1490).

[21] Haydar's eldest son, Ali Mirza Safavi, briefly became the new head of the order, but he was soon killed by the forces of the Aq Qoyunlu prince Rustam Beg (r. 1492–1497).

[23] Ismail assembled a force of 7,000 Qizilbash and invaded Shirvan, defeating and capturing Farrukh Yassar at a battle near Golestan in December.

Farrukh Yassar was beheaded and his body burned, while the skulls of the dead Shirvanis were piled in pyramids, a common Turco-Mongol practice.

Baku was subsequently captured and almost completely destroyed by Khadem Beg Talish, who had the body of the Khalilullah I dug up, burned and publicly scattered.

[4][25] A reconquest of Shirvan was attempted multiple times by members of the Shirvanshah family, including Burhan Ali and his son Abu Bakr Mirza, who enlisted the help of the Ottoman Empire.

[18][25] Shirvan was originally part of Caucasian Albania, which during the Sasanian era was linguistically dominated by Middle Persian, which served as its official language.

[32] During the 12th century, Shirvan served as the focal point for Persian literature, attracting distinguished poets such as Khaqani, Nizami Ganjavi, Falaki Shirvani and so on.

When Shamakhi was besieged by the Shaddadid ruler Abu'l-Aswar Shavur ibn Fadl (r. 1022–1067) in 1063, fifty cavalry soldiers of the Shirvanshah were killed, described as being composed of "Lakzian stalwarts and *Diduwanian (?)

Political map of the Caucasus in c. 1060
Coin of the Shirvanshah Manuchihr III , minted at Shamakhi between 1120 and 1160
" Shah Ismail I in battle with the King of Shirvan", Mo'en Mosavver , Isfahan , late 17th-century
" River Tigris in Baghdad ." Image taken from anthology of poems by various authors, created in Shamakhi , dated 1468