the Almagest, arithmetic, and law, but this was an academic ideal. It was his knowledge of the Qur'an and the "sciences of religion" that linked him to his contemporaries; several sources claim that during his studies he was more interested in religious studies than joining the military. Another factor which may have affected his interest in religion was that, during the First Crusade, Jerusalem was taken by the Christians. In addition to Islam, Saladin had a knowledge of the genealogies, biographies, and histories of the Arabs, as well as the bloodlines of Arabian horses. More significantly, he knew the Hamasah of Abu Tammam by heart. He spoke Kurdish and Arabic and knew Turkish and Persian. Early expeditions Saladin's military career began under the tutelage of his paternal uncle Asad al-Din Shirkuh, a prominent military commander under Nur ad-Din, the Zengid emir of Damascus and Aleppo and the most influential teacher of Saladin. In 1163, the vizier to the Fatimid caliph al-Adid, Shawar, had been driven out of Egypt by his rival Dirgham, a member of the powerful Banu Ruzzaik tribe. He asked for military backing from Nur ad-Din, who complied and, in 1164, sent Shirkuh to aid Shawar in his expedition against Dirgham. Saladin, at age 26, went along with them. After Shawar was successfully reinstated as vizier, he demanded that Shirkuh withdraw his army from Egypt for a sum of 30,000 gold dinars, but he refused, insisting it was Nur ad-Din's will that he remain. Saladin's role in this expedition was minor, and it is known that he was ordered by Shirkuh to collect stores from Bilbais prior to its siege by a combined force of Crusaders and Shawar's troops. After the sacking of Bilbais, the Crusader-Egyptian force and Shirkuh's army were to engage in the Battle of al-Babein on the desert border of the Nile, just west of Giza. Saladin played a major role, commanding the right-wing of the Zengid army, while a force of Kurds commanded the left, and Shirkuh was stationed in the centre. Muslim sources at the time, however, put Saladin in the "baggage of the centre" with orders to lure the enemy into a trap by staging a feigned retreat. The Crusader force enjoyed early success against Shirkuh's troops, but the terrain was too steep and sandy for their horses, and commander Hugh of Caesarea was captured while attacking Saladin's unit. After scattered fighting