The marginality of al-Faraḍī's mention of the battle and the general accuracy of the history of Ibn Khaldūn (his source, Ibn Ḥayyān, was a contemporary), suggest that the battle of Albesa was a separate event from the capture of Ermengol, which took place on Abd al-Malik's punitive expedition against the Catalan counties.[24] Mahmud Ali Makki, the modern editor and interpreter of the Arabic poet Ibn Darrāȳ al-Qasṭallī, suggests that his poem 122 treats the expedition of Abd al-Malik as a response to certain Catalan penetrations of caliphal territory after the death of Almanzor. This accords well with the date of 25 February and with the dating of Abd al-Malik's campaign to the summer.