Battles involving the Hafsid dynasty