أحمد سنجر
Ahmad Sanjar then inspired amir Chavli to invade Mazandaran. During the same time he offered his nephew Ghiyath ad-Din Mas'ud the opportunity to annex Shahriyarkuh. Ghiyath, however, was twice defeated by near Tamisha. Arghash was shortly ordered to return to Mazandaran to avenge the embarrassing Seljuq defeats, and besieged the Bavandid fortress of Ruhin for eight months but was forced to withdraw. Mahmud II later died in 1131, and a civil war later ensured between various Seljuq princes. Ahmad Sanjar was then forced to summon Arghash to aid him in an expedition in western Iran. He then pardoned Ali and ordered him to join him in western Iran. Ali, however, sent his son Shah Ghazi Rustam IV instead, who distinguished himself during the expedition and was wounded at the Battle of Dinavar where Ahmad Sanjar was victorious. Ahmad Sanjar then granted Shah Ghazi Rustam IV several honors and allowed him to return to his father in Mazandaran. However, Ahmad Sanjar's relations with Ali still remained tense. After the death of Ali's wife, Ahmad Sanjar, who was her brother, demanded the properties she had left in Mazandaran which was in reality given to Ali. Ahmad Sanjar then sent the "ispahsalar" Muhammad Kashi to take it. Ali, however, managed to persuade Ahmad Sanjar to share the properties with him.