Answer
His rule ended in 692 when he was overthrown by the Umayyad Caliphate, specifically by the forces of Caliph Abd al-Malik ibn Marwan. The conflict involved a lengthy siege of Mecca, during which the Kaaba was damaged by catapult fire. Ibn al-Zubayr was ultimately defeated and killed during the siege, putting an end to his five-year caliphate and solidifying the Umayyad control over the Islamic world.