After the successful assault on the northern wall, the defenders fled to the Temple Mount, pursued by Tancred and his men. Arriving before the defenders could secure the area, Tancred's men assaulted the precinct, butchering many of the defenders, with the remainder taking refuge in the Al-Aqsa Mosque. Tancred then called a halt to the slaughter, offering those in the mosque his protection. When the defenders on the southern wall heard of the fall of the northern wall, they fled to the citadel, allowing Raymond and the Provençals to enter the city. Iftikhar al-Dawla, the commander of the garrison, struck a deal with Raymond, surrendering the citadel in return for being granted safe passage to Ascalon.