The Fatimids evidently had sympathizers in Egypt, as the Egyptians since the early 9th century had come to resent rule from Baghdad; Dhuka was forced to execute several people for corresponding with al-Mahdi and his son, al-Qa'im.[6]