Vushmgir

Zahir al-Dawla Vushmgir, mostly known as Vushmgir (also spelled as Voshmgir, Wushmgir, Wushmagir and Washmgir), was the second Ziyarid Emir who ruled from 935 until his death in December 967. He was a son of Ziyar. Voshmgir means "quail catcher" in the local Caspian Iranian dialects.

Origins and early life
Vushmgir was the son of Ziyar, who had married a sister of Harusindan, a Gilite ruler. Vushmgir belonged to the Arghich tribe, which claimed to be descended from Arghush Farhadan, king of Gilan who lived during the time of Kai Khosrow. The religion of Ziyar and his family is not exactly known. Zoroastrianism, including heterodox branches such as the Mazdakite, the Zurvanite and Gayomardian, was still popular at his time. However, unlike his Zoroastrian brother Mardavij, Vushmgir was a Sunni Muslim. During his early life, Vushmgir lived in Gilan, which was then under control of the Alids.

Rise to power
In 931, Mardavij, the brother of Vushmgir and king of the Ziyarid dynasty, sent an army to conquer Tabaristan from Makan ibn Kaki, his army was, however, defeated. One later year, Mardavij and Vushgmir defeated Makan and conquered Tabaristan. Vushmgir was then appointed as governor of Amol. In 931, Vushmgir captured Isfahan from the Buyid Ali ibn Buya.

In 935, Voshmgir's brother Mardavij was murdered by his Turkish troops. Many of the Turks then defected; some entered the service of the Buyid Hasan, while others under Bajkam traveled to the Abbasid caliph in Baghdad. Hasan took advantage of this situation by stripping Isfahan from Ziyarid rule. The Dailamite and Gilite troops, however, pledged their support to Voshmgir, who was in Ray. That same year, he defeated a Samanid army, as well as the Dailamite Makan, which had together invaded Tabaristan. Voshmgir then wrested Gorgan from Samanid control.

Reign
Voshmgir 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 ibn Muhtaj attacked Gorgan; Voshmgir sent Makan aid, but the city fell after a long siege. Ibn Muhtaj then engaged Voshmgir and Makan at Iskhabad. During the first phase of the battle, Vushmgir fled from the battlefield, leaving Makan behind. Many of Makan's elite units were shortly killed, while he himself was shot in the head by an arrow, and then beheaded by the victorious Samanid soldiers, who sent his head, along with many captured high-ranking Dailamite officers, to the Samanid court in Bukhara.

When Voshmgir arrived to Tabaristan, he was faced there with a revolt by his governor of Sari, al-Hasan ibn al-Fairuzan, who was a cousin of Makan and blamed Vushmgir for his death. Voshmgir defeated him, but al-Hasan convinced Ibn Muhtaj to invade Tabaristan. Voshmgir was forced to recognize Samanid authority again. Hasan furthered the Ziyarid's troubles by retaking Isfahan in 940.

When Ibn Muhtaj left for Samanid Khurasan, Voshmgir retook control of Ray. However, in 943, a battle was fought near the city between Vushmgir and Hasan. During the battle, two of Vushmgir's officers named Shir Mardi and Gurigir mutinied against him and joined Hasan. Vushmgir was shortly defeated, losing Ray for good. He then returned to Tabaristan, but was defeated there by al-Hasan, who had previously occupied Gorgan. Voshmgir fled to the court of the Bavandid Shahriyar II, and then to the court of the Samanid Nuh I, where he was treated well. Al-Hasan meanwhile allied with Hasan. During the same time, an officer of Vushmgir named Isfahi, who had recently returned to Tabaristan, not knowing that Vushmgir was gone, quickly discovered it, and went to a fortress, where he fortified himself there. A revolt shortly broke against al-Hasan, who had many of Vushmgir's officer's killed, including Isfahi.

Vushmgir, with the aid of 30,000 Samanid troops under their general Qaratakin, captured Gurgan in 945, and set forth to conquer the rest of Tabaristan. Al-Hasan then fled to a fortress, where he could prepare for a counter-attack. Vushmgir, however, managed to defeat al-Hasan and capture the fortress. Al-Hasan once again fled, and this time took refuge with the Paduspanid ruler. Vushmgir then marched to the domains of the Paduspanid ruler, where he defeated the latter. Al-Hasan then fled to another fortress, where he fortified himself. Vushmgir then proceeded to fortress, but was shortly surprised attacked by the Buyid ruler Hasan, and was forced to flee back to the Samanid border, where he once again requested aid from the Samanid ruler Nuh I, who once again sent an army to aid him. This time the conquest went successful; in 947, Vushmgir managed to defeat al-Hasan and expel him from Tabaristan, gaining control over the region once again.

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 Voshmgir. While al-Hasan supported the Buyids, Voshmgir relied on his Samanid allies. Tabaristan and Gorgan changed hands several times until 955, when in a treaty with the Samanids, Rukn al-Dawla promised to leave Voshmgir alone in Tabaristan. Peace between the two sides did not last long, however; in 958 Voshmgir 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.

Death
Voshmgir was killed by a boar during a hunt in December 967, shortly after a Samanid army had arrived for a joint campaign against the Buyids. He was succeeded by his eldest son Bisutun, although the Samanid army attempted to put another son, Qabus, into power. A third son predeceased him in 964 in the fighting over Hausam (for Voshmgir's involvement in this conflict, see Langar).