Sunni Islam (935-1090)
|Historical era||Middle Ages|
The dynasty was descended from Vardanshah, leader of the Shahanshahvand tribe, which traced its descent back to the legendary king Arghush Farhadan, who was the ruler of Gilan, and lived during the time of Kai Khosrow. Vardanshah had a son named Ziyar, who married a sister of the Gilaki king Harusindan, who bore him a son named Mardavij. Mardavij later served another Gilaki military leader named Asfar ibn Shiruya, but later betrayed the latter and conquered Tabaristan, which led to the foundation of the Ziyarid dynasty, which he named after his father.
Mardavij then began aggressively expanding his territories, killing Asfar and capturing several important cities in Iran, such as Hamadan, Dinavar, Kashan, Isfahan, Shiraz and Ahvaz from the Abbasids. He further planned to restore the Sasanian Empire through conquering Baghdad and ousting the Abbasid Caliphate, but was instead murdered in 935. After Mardavij's death, his brother and general Vushmgir was crowned as the new Ziyarid ruler in Ray.
Hasan ibn Buya, one of the brothers of the Buyid ruler Ali ibn Buya, took advantage of Mardavij's death by seizing Isfahan from Ziyarid rule. The Samanids also took advantage of the opportunity, but were defeated by Vushmgir, who then wrested Gorgan from Samanid control.
However, Vushmgir soon decided to acknowledge Samanid supremacy, and in 936 he also turned over Gorgan to Makan. Turning against Hasan, he retook Isfahan in 938. In 939 or 940 the Samanid governor Abu 'Ali Chaghani attacked Gorgan; Vushmgir sent Makan aid, but the city fell after a long siege. Abu 'Ali Chaghani then engaged Vushmgir in battle in Ray and defeated him, killing Makan in the process. Vushmgir fled to Tabaristan, but was faced there with a revolt by his governor of Sari, al-Hasan ibn al-Fairuzan, who was a cousin of Makan and blamed the Ziyarid for his death. Vushmgir defeated him, but al-Hasan convinced Abu 'Ali Chaghani to invade Tabaristan. Vushmgir was forced to recognize Samanid authority again. Hasan furthered the Ziyarid's troubles by retaking Isfahan in 940.
When Abu 'Ali Chaghani left for Samanid Khurasan, Vushmgir retook control of Ray. He then lost it for good in 943, to the Buyid Hasan. Returning to Tabaristan, he was defeated there by al-Hasan, who had previously occupied Gorgan. Vushmgir fled to the Bavandids of the mountains in eastern Tabaristan, then to the court of the Samanid Nuh I. Al-Hasan meanwhile allied with Hasan, but when Ibn Muthaj took Ray from the Buyids in 945, he recognized Samanid authority. Still, in 945 Vushmgir captured Gorgan with Samanid support, but did not manage to retain his rule there. It was only in 947 when he was able to take Gorgan and Tabaristan from al-Hasan with the help of a large Samanid army.
In 948 Hasan (who since the Buyids' entrance into Baghdad in 945 had used the title Rukn al-Dawla) invaded Tabaristan and Gorgan and took them from Vushmgir. While al-Hasan supported the Buyids, Vushmgir relied on his Samanid allies. Tabaristan and Gorgan changed hands several times until 955, when in a treaty with the Samanids, Rukn al-Daula promised to leave Vushmgir alone in Tabaristan. Peace between the two sides did not last long, however; in 958 Vushmgir briefly occupied Ray, which was Rukn al-Dawla's capital. Rukn al-Dawla later made a counter-attack, temporarily taking Gorgan in 960, then taking both Tabaristan and Gorgan for a short time in 962. He may have also taken Tabaristan and Gorgan in 966, but did not hold on to them for long.
Vushmgir was killed by a boar during a hunt in 967, shortly after a Samanid army had arrived for a joint campaign against the Buyids. He was succeeded by his eldest son Bisutun; however, the Samanid army favored another son, Qabus, and challenged Bisutun's rule. Bisutun then agreed with Rukn al-Dawla to become his vassal in return for protection against the Samanids, which forced the Samanid army to withdraw to Khorasan. In 971, the Abbasid caliph al-Muti gave Bisutun the title of Zahir al-Dawla. Bisutun later died in 977, and was succeeded by Qabus. However, he was expelled by the Buyid ruler Adud al-Dawla in 980, because he gave refuge to the latter's rival and brother Fakhr al-Dawla. The Buyids now dominated Tabaristan over 17 years while Qabus was in exile in Khorasan. In 998, Qabus returned to Tabaristan and re-established his authority there. He then established good relations with the Ghaznavid ruler Mahmud of Ghazni who had taken control of Khorasan, but still acted as an independent sovereign. During the reign of Qabus, his kingdom was a major attraction to scholars; Abu Rayhan Biruni, the great scientist of the Middle Ages, was supported by Qabus. In fact he dedicated his work Chronology to Qabus around 1000 and observed eclipses of the moon in his capital of Gorgan.
Due to his tyrannical rule, Qabus was overthrown by his own army in 1012, and was succeeded by his son Manuchihr, who quickly recognized the sovereignty of Mahmud of Ghazni, and married one of his daughters. Manuchihr died in 1031, and was succeeded by his son Anushirvan Sharaf al-Ma'ali whom Mahmud of Ghazni had chosen as the heir of the Ziyarid dynasty. From 1032 to 1040, the real power behind the throne was held by Abu Kalijar ibn Vayhan, a relative of Anushirvan. In 1035, Abu Kalijar stopped paying tribute to the Ghaznavids; the Ghaznavids invaded Tabaristan and sacked the Ziyarid capital, Amol. Abu Kalijar, after having learned the consequences of not paying tribute to the Ghaznavids, agreed to continue paying tribute. This gave Anushirvan the opportunity to imprison Abu Kalijar and gain a firm grip over his kingdom. In 1041/1042, the Seljuqs, now the new masters of Khorasan, invaded Anushirvan's domains, which forced him to accept their authority.
Anushirvan died in 1059 and was succeeded by his cousin Keikavus, the celebrated author of the Qabus nama, a major work of Persian literature. Keikavus died in 1087, and was succeeded by his son Gilanshah. Gilanshah's reign, was, however, short; in 1090, the Nizari Ismaili state under Hassan-i Sabbah invaded and conquered his domains, which ended Ziyarid rule in Tabaristan.
One of the most famous architectural works of the Ziyarid dynasty is the Gonbad Kavous (meaning the "Dome of Qabus"). The tomb is one of the earliest architectural monuments with a dated inscription surviving in post-Islamic Iran. The tomb, built of fired brick, is an enormous cylinder capped by a conical roof. The circular plan, broken by 10 flanges, is 17 m in diameter, and the walls are 3 m thick. The height from base to tip is 49 m. Legend has it, that the body of Qabus was enclosed in a glass coffin which was suspended by chains from the interior dome inside the tower.