The siege of Mecca (Arabic: حصار مكة) occurred at the end of the Second Fitna in 692 when the forces of the Umayyad caliph Abd al-Malik ibn Marwan besieged and defeated his rival, the caliph Abd Allah ibn al-Zubayr in his center of power, the Islamic holy city of Mecca.