Central Asia · Turkic khaganates and Islam
Shirvan
drawn on the map AD 825–839, 866–1084, 1126–1235, 1344–1384, 1415–1539
The Shirvanshahs were the rulers of Shirvan — the easternmost Caucasus, descending from the mountains to the Kur River and the Caspian coast of present-day Azerbaijan — from 861 to 1538, making them one of the longest-lived dynasties of the Islamic world. Their realm was known in contemporary sources as the Kingdom of Shirvan.
- Shown on the map
- AD 825–839, 866–1084, 1126–1235, 1344–1384, 1415–1539 (5 periods)
- Peak area
- 113k km²
- Region
- Central Asia
Overview
The Shirvanshahs were the rulers of Shirvan — the easternmost Caucasus, descending from the mountains to the Kur River and the Caspian coast of present-day Azerbaijan — from 861 to 1538, making them one of the longest-lived dynasties of the Islamic world. Their realm was known in contemporary sources as the Kingdom of Shirvan. The capitals were Shamakhi (also called Yazidiya) and, increasingly from the late 12th century, Baku. The dynasty was Sunni Muslim, likely Hanafi, with Persian as the language of court, literature, and dynastic culture.
Origins and ethnolinguistic background
The title Shirvanshah ("king of Shirvan") probably predates Islam: the geographer Ibn Khordadbeh (d. 913) reports that the Sasanian founder Ardashir I granted it to a local ruler, and a Shirvanshah submitted to the Arabs during their first incursion into the eastern Caucasus. The dynasty proper was founded by Haytham ibn Khalid in 861, a member of the Yazidids (Mazyadids) — an Arab family of the Banu Shayban tribe that had risen through Abbasid governorships of Arminiya and Azerbaijan. Over generations the family became thoroughly Persianized through intermarriage with local eastern-Caucasian families; from Manuchihr I (r. 1027–1034) onward the rulers bore Persian names (Manuchihr, Qubad, Faridun) and claimed descent from Sasanian heroes such as Bahram Gur and Khosrow Anushirvan. Later sources call this line the Kasranids or Khaqanids. The vernacular of the realm was Tati, an Iranian language descended from Middle Persian, which survived on the Absheron peninsula until the 19th century.
Chronology and major rulers
The first line (861–1382) endured as vassals or autonomous rulers under successive overlords: the Seljuks (from c. 1063, when Fariburz I paid Alp Arslan a tribute of 70,000 dinars), the Georgian Bagrationi kings (Shirvan was effectively a Georgian protectorate in the mid-12th century), the Eldiguzids, the Khwarazmshah Jalal al-Din, and then the Mongols, Ilkhanate, Golden Horde, and Jalayirids. The last Kasranid, Hushang, was killed by his subjects in 1382. The second, Darbandid line began with Ibrahim I (r. 1382–1417), initially a vassal of Timur. The 15th century was the dynasty's golden age under Khalilullah I (r. 1417–1463) and Farrukh Yasar (r. 1463–1500), who built the Palace of the Shirvanshahs in Baku (now a UNESCO World Heritage Site). Farrukh Yasar was defeated and beheaded by the young Safavid leader Ismail I in December 1500; the dynasty survived as Safavid vassals until 1538, when Shah Tahmasp I dismissed Shahrukh for disloyalty and annexed Shirvan as a Safavid province.
Territory, government, economy, culture
Shirvan proper lay between the Kur River and the Caucasus peaks, bordered by Arran, Shakki, Muqan, and Layzan; the shahs persistently sought control of Darband, Quba, Maskat, and Baku. The army relied on mercenaries (Lakzian and other Caucasian levies), a regular force, naulatiya monthly garrison rotations, and ghulam slave-soldiers as the royal guard. Culturally, 12th-century Shirvan was a focal point of Persian literature: Nizami Ganjavi praised Akhsitan I as "king of Iran," and Khaqani (whose pen name derived from the shah's title Khāqān-e Kabir) portrayed Shirvan as heir to the Sasanians. The anthology Nozhat al-Majales (13th century) attests a broad, socially diverse Persian literary culture. Twice the shahs killed Safavid order leaders (Shaykh Junayd in 1460, Shaykh Haydar in 1488) — a feud that proved fatal.
Decline and legacy
Safavid vassalage after 1500 ended in 1538; later attempts by pretenders (Burhan Ali, Abu Bakr Mirza) with Ottoman help failed, though the Ottomans briefly held Shirvan in 1578–1607. The dynasty's legacy endures in Baku's architecture and in its role as a transmitter of Persianate culture to the Caucasus. The peak area of ~113,000 km² (per the project's reference data) is consistent with Shirvan's greatest extent, including Arran and Darband, though Wikipedia gives no precise figure.
Common questions
- What was Shirvan?
- The Shirvanshahs were the rulers of Shirvan — the easternmost Caucasus, descending from the mountains to the Kur River and the Caspian coast of present-day Azerbaijan — from 861 to 1538, making them one of the longest-lived dynasties of the Islamic world. Their realm was known in contemporary sources as the Kingdom of Shirvan.
- When is Shirvan shown on the map?
- The border data draws Shirvan AD 825–839, 866–1084, 1126–1235, 1344–1384, 1415–1539, in 5 separate periods. The source samples borders at fixed dates, so a span can begin late or run on past the end.
- How large was Shirvan?
- At its greatest extent drawn on this map, Shirvan covered about 113,000 km². That is the largest area the border data gives it across the years it is drawn, not necessarily its greatest extent in history.
- Where was Shirvan?
- Shirvan proper lay between the Kur River and the Caucasus peaks, bordered by Arran, Shakki, Muqan, and Layzan; the shahs persistently sought control of Darband, Quba, Maskat, and Baku. The army relied on mercenaries (Lakzian and other Caucasian levies), a regular force, naulatiya monthly garrison rotations, and ghulam slave-soldiers as the royal guard.
- Who ruled Shirvan?
- The first line (861–1382) endured as vassals or autonomous rulers under successive overlords: the Seljuks (from c. 1063, when Fariburz I paid Alp Arslan a tribute of 70,000 dinars), the Georgian Bagrationi kings (Shirvan was effectively a Georgian protectorate in the mid-12th century), the Eldiguzids, the Khwarazmshah Jalal al-Din, and then the Mongols, Ilkhanate, Golden Horde, and Jalayirids. The last Kasranid, Hushang, was killed by his subjects in 1382.
- How did Shirvan end?
- Safavid vassalage after 1500 ended in 1538; later attempts by pretenders (Burhan Ali, Abu Bakr Mirza) with Ottoman help failed, though the Ottomans briefly held Shirvan in 1578–1607. The dynasty's legacy endures in Baku's architecture and in its role as a transmitter of Persianate culture to the Caucasus.
Sources
Every source below was consulted while writing this entry.
- Wikipedia: Shirvanshahs en.wikipedia.org/wiki/Shirvanshah
- Encyclopaedia Iranica: Azerbaijan iv. Islamic History to 1941 (Bosworth) www.iranicaonline.org/articles/azerbaijan-iv/
This entry was written from the sources above and last updated .
This entry was researched and drafted with AI from the sources above, and has not been reviewed by a historian. How entries are made
Text available under CC BY-SA 4.0: reuse it with a credit to The World Through Time and a link to this page. Passages drawing on the Wikipedia articles listed above are also licensed CC BY-SA 4.0 by their contributors.
Border geometry for the map itself comes from Cliopatria v0.12 (Seshat Global History Databank, CC-BY-4.0).
See Shirvan in its world
Open the atlas at AD 975 and every neighbour, rival and successor is on screen with it — then drag the slider and watch what happens next.
Open the map at AD 975 →