from the Sasanians as well. The notion of claiming links with the pre-Islamic Iranian past as they "sought to legitimize themselves as heirs to pre-Islamic Iranian traditions" was a feature which the Shaddadids shared with numerous other contemporaneous dynasties. In addition to Iranian influences, there were strong Armenian influences among the Shaddadid ruling house, which is attested in members of the family bearing Armenian names such as Ashot. Shaddadids of Ani In 1072, the Seljuks sold Ani to the Shaddadid emir of Manuchihr. Manuchihr repaired and enlarged the walls of Ani. The Shaddadids generally pursued a conciliatory policy towards the city's overwhelmingly Armenian and Christian population and actually married several members of the Bagratid nobility. A son and successor of Manuchihr, Abu'l-Aswar was accused by the contemporary Armenian historian Vardan Areveltsi of persecuting Christians and attempting to sell Ani to the emir of Kars. His rule was terminated by the resurgent King David IV of Georgia, whom Ani surrendered without a fight in 1124. Abu'l-Aswar Shavur ended his days as a captive of the Georgians, while Ani was given by David IV to his general, Abuleti. Abu'l-Aswar Shavur's son Fadl IV would be able to resume the Shaddadid reign in Ani in 1125. In 1130 Georgia was attacked by the Sultan of Ahlat, Shah-Armen Sökmen II (1128-1183). This war was started by the passage of Ani into the hands of the Georgians; Demetrius I had to compromise and give up Ani to Fadl IV on terms of vassalage and inviolability of the Christian churches. Fadl extended his rule to Dvin and Ganja, but failed to maintain these cities. He was murdered by his courtiers following the fall of Dvin to the Turkish emir Qurti c. 1030. His brothers, Mahmud and Khushchikr, ruled briefly in quick succession until the emirate was taken over by Fadl's nephew, Fakr al-Din Shaddad. In 1139, Demetrius raided the city of Ganja in Arran. He brought the iron gate of the defeated city to Georgia and donated it to Gelati Monastery at Kutaisi. Despite this brilliant victory, Demetrius could hold Ganja only for a few years. In reply to this, the sultan of Eldiguzids attacked Ganja several times, and in 1143 the town again jell to the sultan who appointed his own emir to rule it. Fakr al-Din Shaddad asked for Saltuk II's daughter's hand, however Saltuk refused him. This caused a deep hatred in Shaddad