The Ayyubid ruler of Syria, Al-Mu'azzam, who until that time had been determined to rehabilitate fortifications and buildings in Jerusalem, decided to systematically destroy the Crusader fortifications in the Levant in general and Jerusalem in particular. The Sultan's command to raze the town to the ground seemed so implausible that it took the personal presence of Al-Mu'azzam in Jerusalem to carry it out. The city suffered two waves of destruction in 1219 and 1220. This was absolute and brutal destruction, with most buildings in Jerusalem and its walls destroyed, and led to severe reactions from the inhabitants of Jerusalem, who thought that it was Judgment Day. Muslim women of Jerusalem cut their hair in a sign of mourning at the plaza on the Temple Mount. The vast majority of the population, including the Jewish community, left Jerusalem, and all that remained standing in the city were the Tower of David Citadel, Church of the Holy Sepulchre, and the sacred Muslim domain of the Temple Mount.