On October 18, 1009, the Church of the Holy Sepulchre in Jerusalem was destroyed by the Fatimid caliph Al-Hakim bi-Amr Allah, who hacked the Church's foundations down to bedrock. From the article:
"This building was damaged by fire in 614 when the Persians, under Khosrau II, invaded Jerusalem and captured the Cross. In 630, Emperor Heraclius marched triumphantly into Jerusalem and restored the True Cross to the rebuilt Church of the Holy Sepulchre. Under the Muslims it remained a Christian church. The early Muslim rulers protected the city's Christian sites, prohibiting their destruction and their use as living quarters. In 966 the doors and roof were burnt during a riot.[citation needed]
On October 18, 1009, Fatimid caliph Al-Hakim bi-Amr Allah ordered the complete destruction of the church. The measures against the church were part of a more general campaign against Christian places of worship in Palestine and Egypt, which involved a great deal of damage: Adémar de Chabannes recorded that the church of St George at Lydda 'with many other churches of the saints' had been attacked, and the 'basilica of the Lord's Sepulchre destroyed down to the ground'. ...The Christian writer Yahya ibn Sa'id reported that everything was razed 'except those parts which were impossible to destroy or would have been too difficult to carry away'."[10] The Church's foundations were hacked down to bedrock. The Edicule and the east and west walls and the roof of the cut-rock tomb it encased were destroyed or damaged (contemporary accounts vary), but the north and south walls were likely protected by rubble from further damage. The "mighty pillars resisted destruction up to the height of the gallery pavement, and are now effectively the only remnant of the fourth-century buildings."[10] Some minor repairs were done to the section believed to be the tomb of Jesus almost immediately after 1009, but a true attempt at restoration would have to wait for decades.[10]
European reaction was of shock and dismay, with far-reaching and intense consequences. For example, Cluniac monk Rodulfus Glaber blamed the Jews, with the result that Jews were expelled from Limoges and other French towns. Ultimately, this destruction provided an impetus to the later Crusades.[11]
In wide ranging negotiations between the Fatimids and the Byzantine Empire in 1027-8 an agreement was reached whereby the new Caliph Ali az-Zahir (Al-Hakim's son) agreed to allowing the rebuilding and redecoration of the Church.[12] The rebuilding was finally completed with the financing of the huge expense by Emperor Constantine IX Monomachos and Patriarch Nicephorus of Constantinople in 1048.[13] As a concession, the mosque in Constantinople was re-opened and sermons were to be pronounced in az-Zahir's name.[12] Muslim sources say a by-product of the agreement was the recanting of Islam by many Christians who had been forced to convert under Al-Hakim's persecutions.[12] In addition the Byzantines, while releasing 5,000 Muslim prisoners, made demands for the restoration of other churches destroyed by Al-Hakim and the re-establishment of a Patriarch in Jerusalem.[12] Contemporary sources credit the emperor with spending vast sums in an effort to restore the Church of the Holy Sepulchre after this agreement was made.[12] Despite the Byzantines spending vast sums on the project, "a total replacement was far beyond available resources. The new construction was concentrated on the rotunda and its surrounding buildings: the great basilica remained in ruins."[10] The rebuilt church site consisted of "a court open to the sky, with five small chapels attached to it."[14] The chapels were "to the east of the court of resurrection, where the wall of the great church had been. They commemorated scenes from the passion, such as the location of the prison of Christ and of his flagellation, and presumably were so placed because of the difficulties for free movement among shrines in the streets of the city. The dedication of these chapels indicates the importance of the pilgrims' devotion to the suffering of Christ. They have been described as 'a sort of Via Dolorosa in miniature'... since little or no rebuilding took place on the site of the great basilica. Western pilgrims to Jerusalem during the eleventh century found much of the sacred site in ruins."[10] Control of Jerusalem, and thereby the Church of the Holy Sepulchre, continued to change hands several times between the Fatimids and the Seljuk Turks (loyal to the Abbasid caliph in Baghdad) until the arrival of the Crusaders in 1099.[15]"