Pougy, marshal of Jerusalem and another son of Shawar to hold Giza and set out in pursuit of Shirkuh. The Fatimid-crusader army followed to the Battle of al-Babein, where fighting was bloody but inconclusive. Even so, the crusader-Fatimids pursued the Syrians, whose plan to use Alexandria as a port came to nothing when the crusader fleet arrived. The people of Alexandria decided to open the city gates to Shirkuh without resistance, as Shawar was not popular there. The city was not ready for war, supplies were rapidly depleting, and the besieged was threatened with famine. Leaving the city to his nephew Saladin, Shirkuh left to Upper Egypt, hoping that part of the opposing army would follow him, but the maneuver did not materialize. At Alexandria, the besieged troops agreed to leave Egypt alone in return for a crusader withdrawal in August 1167. Amalric left with a favorable treaty resulting in Egyptian tribute to Jerusalem and a friendly Shawar in control. The Crusaders had also left a small garrison in Alexandria, and Shawar had to pay King Amalric, 100,000 bezants each year, through the Alexandrian garrison. However, while waiting for the payment of the agreed sum, Amalric delegated a representative to the court of Cairo and also installed a garrison there, putting Egypt under a Crusader protectorate. Fourth Crusader invasion, 1168–1169 The presence of a Frankish adviser at the court of the Caliph, a garrison in Cairo, as well as officials responsible for collecting the indemnities increased the discontent of the Egyptian people, because it implied additional taxes. Members of the court began to regard the alliance with Nur ad-Din as a lesser evil. The Frankish knights and officials became worried and began to send distress messages to Amalric. The latter hesitated, because he was negotiating an alliance with Byzantines for the conquest of Egypt, but a large fraction of his entourage pushed him to intervene immediately. At this point in time the crusaders should have focused on strengthening their position against Syria, but instead Amalric was tempted by Gilbert of Assailly, Grand Master of the Knights Hospitaller, who provided five hundred knights and five hundred turcopoles to attack Egypt and take it. Manuel Komnenos received the idea well. However, the Venetian fleet, which at that time often operated in the eastern Mediterranean, refused to take part in the Egyptian campaigns because they did not want to jeopardize their trade relations