 His destiny was to be killed by Dhieb bin Ghanim who thrust a spear into his eyes.The epic also says that one of the reasons of his defeat was the betrayal of his daughter Sadaa who fell in love with Maree, a Hilalian prince held captive in her fathers prison.The historical Khalifa Al-Zanati may have been a general serving the ruler of Tlemcen in present-day Algeria.