In around 948 Marzuban, angered by an insult his envoy had received from the Buwayhid amir of Jibal, Rukn al-Daula, decided to take the city of Ray as punishment.
The Dailamite officers who had managed to escape from the battle at Qazvin decided to rally around Marzuban's father Muhammad, who was still in prison.