Jerusalem today, with the Old City in the foreground. • ISTOCKPHOTO At the end of the Xth century, what the Muslims had called al-Quds (the Holy) fell into the hands of the Fatimids of Egypt, who established a Shiite caliphate there. Caliph al-Hakim came to power in 996 and exercised it with fa