Manuchihr

When, in the early part of the 11th century, a group of army conspirators rebelled against Qabus and took control of the capital Gurgan, invited Manuchihr to take the throne.

[7] Ibn Fuladh, a Dailamite military officer, who claimed Qazvin for himself, revolted against his Buyid overlord Majd al-Dawla in 1016.

Majd al-Dawla, however, refused to make him governor of Qazvin, which made Ibn Fuladh threaten him around the countryside of his capital in Ray.

Majd al-Dawla then requested the aid of his vassal, the Bavandid ruler Abu Ja'far Muhammad, who managed to defeat Ibn Fuladh and repel him from Ray.

Manuchihr's relationship with the Ghaznavids was not always friendly, however; on his way to seize the possessions of Majd al-Dawla of Ray in 1028, Mahmud invaded the Ziyarid's territory.