in little valleys to the south of the main position, the Zengid central force returned to the offensive; Saladin joined in from the rear. The battle ended in a Zengid victory, and Saladin is credited with having helped Shirkuh in one of the "most remarkable victories in recorded history", according to Ibn al-Athir, although more of Shirkuh's men were killed and the battle is considered by most sources as not a total victory. Saladin and Shirkuh moved towards Alexandria where they were welcomed, given money and arms, and provided a base. Faced by a superior Crusader-Egyptian force attempting to besiege the city, Shirkuh split his army. He and the bulk of his force withdrew from Alexandria, while Saladin was left with the task of guarding the city. In Egypt Vizier of Egypt Shirkuh was in a power struggle over Egypt with Shawar and Amalric I of Jerusalem in which Shawar requested Amalric's assistance. In 1169, Shawar was reportedly assassinated by Saladin, and Shirkuh died later that year. Following his death, a number of candidates were considered for the role of vizier to al-Adid, most of whom were ethnic Kurds. Their ethnic solidarity came to shape the Ayyubid family's actions in their political career. Saladin and his close associates were wary of Turkish influence. On one occasion Isa al-Hakkari, a Kurdish lieutenant of Saladin, urged a candidate for the viziership, Emir Qutb al-Din al-Hadhbani, to step aside by arguing that "both you and Saladin are Kurds and you will not let the power pass into the hands of the Turks". Nur ad-Din chose a successor for Shirkuh, but al-Adid appointed Saladin to replace Shawar as vizier. The reasoning behind the Shia caliph al-Adid's selection of Saladin, a Sunni, varies. Ibn al-Athir claims that the caliph chose him after being told by his advisers that "there is no one weaker or younger" than Saladin, and "not one of the emirs [commanders] obeyed him or served him". However, according to this version, after some bargaining, he was eventually accepted by the majority of the emirs. Al-Adid's advisers were also suspected of promoting Saladin in an attempt to split the Syria-based Zengids. Al-Wahrani wrote that Saladin was selected because of the reputation of his family in their "generosity and military prowess". Imad ad-Din wrote that after the brief mourning period for Shirkuh, during which "opinions differed", the Zengid emirs decided upon Saladin and forced