Returning to besiege Acre, Bonaparte learned that Rear-Admiral Perrée had landed seven siege artillery pieces at Jaffa. Bonaparte then ordered two assaults, both vigorously repulsed. A fleet was sighted flying the Ottoman flag and Bonaparte realised he must capture the city before that fleet arrived with reinforcements. A fifth general attack was ordered, which took the outer works, planted the French tricolour on the rampart, pushed the Ottomans back into the city and forced the Ottoman fire to relent. Acre was thus taken or about to capitulate.