Soon he proceeded northward to recover the city of Dvin from the Georgian attack in 1162. A coalition of Muslim rulers - Shah-Armen Seyfettin Beytemür, Ahmadili Arslan-Aba, Arzen emir Fakhr ul-Din and Saltuk II, led by Ildeniz took the fortress of Gagi, laid waste as far as the region of Gagi and Gegharkunik, seized prisoners and booty, and then moved to Ani capturing and granting it to Shaddadid emir Shahanshah ibn Mahmud. The Muslim rulers were jubilant, and they prepared for a new campaign.