 Dupuy's brigade pursued the routed enemy and at night entered Cairo, which had been abandoned by the beys Mourad and Ibrahim.On 4 Thermidor (22 July), the notables of Cairo came to Giza to meet Bonaparte and offered to hand over the city to him.Three days later, he moved his main headquarters there.