After asserting Umayyad authority in Iraq, Abd al-Malik dispatched one of his commanders, al-Hajjaj ibn Yusuf, to subdue Ibn al-Zubayr. Al-Hajjaj besieged and bombarded Mecca for six months, by which point, most of Ibn al-Zubayr's partisans and his sons Khubayb and Hamza surrendered upon offers of pardons. Ibn al-Zubayr remained defiant and, acting on his mother's counsel, entered the battlefield where he was ultimately slain on 3 October or 4 November 692. In an anecdote recorded by 9th-century historian al-Tabari, when al-Hajjaj and his lieutenant commander, Tariq ibn Amr, stood over Ibn al-Zubayr's body, Tariq said of the latter: "Women have borne none manlier than he ... He had no defensive trench, no fortress, no stronghold; yet he held his own against us an equal, and even got the better of us whenever we met with him". Al-Hajjaj posted Ibn al-Zubayr's body on a gibbet where it remained until Abd al-Malik allowed Ibn al-Zubayr's mother to retrieve it. His body was subsequently buried in the house of his paternal grandmother Safiyya in Medina. The Umayyad victory and Ibn al-Zubayr's death marked the end of the Second Fitna.