Abd al-Malik al-Muzaffar was hajib of Cordoba from the death of his father Al-Mansur Ibn Abi Aamir (known to later Spanish historians as Almanzor) in 1002 until his own death in 1008. He was succeeded by his half-brother Abd al-Rahman Sanchuelo.