Following his victory, Abd al-Malik confiscated the estates of Ibn al-Zubayr in Medina and elsewhere in the Hejaz. The caliph later restored one or more of the properties to Ibn al-Zubayr's sons after a request by Thabit. His eldest son, Khubayb, was flogged to death in Medina by its governor Umar II during the reign of Caliph al-Walid I (r. 705–715). Thabit, meanwhile, had gained particular favor from al-Walid's successor, Caliph Sulayman ibn Abd al-Malik (r. 715–717), who agreed to return the remainder of the confiscated estates to Ibn al-Zubayr's sons. Under the Abbasid caliphs al-Mahdi (r. 775–785) and Harun al-Rashid (r. 786–809), several descendants of Ibn al-Zubayr attained senior administrative posts, including his great-grandson Abd Allah ibn Mus'ab and the latter's son Bakkar ibn Abd Allah, who successively served as governors of Medina.