Shirvanshah Ali
Shah of Shirvan
About Shirvanshah Ali
Lived 900 – 917.
Ali ibn Haytham (; died 917), known as Ali I, was the Shirvanshah until 917. The son of Haytham ibn Muhammad, he is remembered chiefly for two catastrophes: a joint expedition with the emir of Derbent against Shandan in which both rulers and ten thousand Muslims were taken captive, and the great Rus raid on the Caspian coasts recorded by al-Mas'udi. He was killed in 917 by his kinsman Abu Tahir Yazid, the lord of Layzan, who thereby united the two principalities and transferred the Shirvanshah's throne from the house of Haytham to that of his brother Yazid.
The Shandan expedition Ali made an agreement with the emir of Derbent, Muhammad ibn Hashim, to attack the non-Muslims of Shandan, in the mountains of present-day Dagestan. A large number of volunteers and Qur'an readers (qurra) from elsewhere rallied to them, but when they reached the pass of Shandan the battle went against the Muslims. Ali and the emir were taken prisoner together with ten thousand men, whom the victors divided among the people of Shandan, Sarir and the Khazars. Those who fell into the hands of the men of Sarir were released three months later without ransom, and Ali and the emir were also freed and sent back to their countries; but the captives held by the Khazars and by the people of Shandan were sold, and only a few escaped. The chronicle adds that among the non-Muslims of the frontier the people of Shandan were the most implacable enemies of the Muslims of Derbent.
The chronicle dates the battle to in its chapter on Shirvan and to in its chapter on Derbent. Sara Ashurbeyli places it in .
The Rus raid Al-Mas'udi records that at some point after the Rus came with about five hundred ships, each carrying a hundred men. Reaching the Khazar guard-posts at the mouth of the channel, they undertook to give the Khazar khagan half of whatever plunder they took from the peoples around the sea, and were allowed to pass through his country to the Volga and down to its mouth on the Caspian Sea. Their ships then scattered across the sea and raided Gilan, Daylam, Tabaristan, Abaskun on the Gurgan shore, the naphtha-bearing district and the lands towards Azerbaijan. The peoples of the coast were thrown into confusion, for they had never before seen an enemy come against them from the sea, which had carried only merchant and fishing vessels.
The Rus fought the men of Gilan and Daylam and one of the commanders of Ibn Abi'l-Saj before reaching the naphtha-bearing shore of the kingdom of Shirvan known as Bakuh (Baku). On their return they took shelter on islands a few miles offshore. The population made ready, boarded their boats and rowed out to the islands; the Rus came out to meet them, and thousands of Muslims were killed or drowned.
The inhabitants of southern Azerbaijan, Arran, Baylaqan, the district of Barda and other towns, together with those of Daylam, Gilan and Tabaristan, took to flight, having expected no attack from the sea. The Rus remained on the Caspian for several months, during which no coastal people could travel from one country to another. Having taken great plunder they returned to Khazar territory, where they were attacked by the Muslims; some thirty thousand were killed and only about five thousand escaped home.
Death Vladimir Minorsky considered that Ali's downfall followed from the loss of prestige brought by these repeated defeats. In he was challenged by a kinsman, Abu Tahir Yazid, the lord of Layzan, whom the chronicle describes as a cousin of an older generation. Weakened by his captivity and by the loss of most of his men, Ali was taken by surprise and captured together with his son Abbas and his grandson Abu-Bakr. All were killed at Marzuqiya except Abu-Bakr, who escaped. In the chronicler's phrase, fortune left the house of Haytham and passed to the house of his brother Yazid. Abu Tahir Yazid, until then Layzanshah, thereby united the two principalities and occupied Shirvan in ; in he founded the town of Yazidiya, later Shamakhi, and granted Layzan as a fief to one of his own sons.
Don’t just read it —
keep it.
Full-length biographies made to live with: read them, listen on the way to work, watch them tonight.
- E-book
- Audio
- Video
Instant download · yours to keep · every purchase keeps this site free
Important facts
Family & relationships
People in Shirvanshah Ali's life
Named in this biography and alive at the same time
Frequently asked questions
Who was Shirvanshah Ali?
shah of Shirvan
When was Shirvanshah Ali born?
Shirvanshah Ali was born in 900 in Shamakhi.
When did Shirvanshah Ali die?
Shirvanshah Ali died in 917.
What nationality was Shirvanshah Ali?
Shirvanshah Ali's recorded nationality: Shirvan.
Sources & further reading
Cite this page
APA: Biography.guide. (2026). Shirvanshah Ali. https://biography.guide/shirvanshah-ali/
MLA: "Shirvanshah Ali." Biography.guide, https://biography.guide/shirvanshah-ali/.
Chicago: "Shirvanshah Ali." Biography.guide. https://biography.guide/shirvanshah-ali/.
Data last updated: 2026-09-20 · Spot an error? Report a correction.
Page generated 2026-09-27 05:03 UTC