Ali I of Shirvan

Ali I (علی) was shah of Shirvan (located in the modern day Azerbaijan).

Reign
He succeeded his father Haytham II. Later, making an alliance with Muhammad b. Hashim - Emir of Derbent, he marched on Shandān (in modern Dagestan ) to Islamize the country c. 909 or 912. However, the attack was a disaster for muslim side as about 10,000 soldiers were captured were divided into three groups to be enslaved by Sarir, Khazars and Shandān. Ali was among the captured as well, but he was freed three months later without ransom.

According to al-Masudi, the Rus raided Caucasus during his reign. Ali built boats to fight off the invasion, but it was no match for 500-ship strong Rus fleet. The Rus army plundered the region starting from Baku to as far as Arran.

Vladimir Minorsky argued that the reason for Ali I's downfall was loss of prestige and continuous defeats. He was attacked by Abu Tahir Yazid, his 2nd cousin-once-removed c. 917. He was captured near Marzūqiya (near modern Derbent) alongside his son Abbas and grandson Abu-Bakr. While he and his son were executed, Abu-Bakr managed to escape. Abu Tahir Yazid, who was Layzanshah succeeded him as next Shirvanshah, uniting two principalities.