His army suffered a real disaster and he had to retreat. However, during this retreat he was attacked in reprisal by Algerian Arab tribes under whom he previously raided. They achieved a victory over him, and successfully recovered a large amount of loot which was taken from them.[4][3][4]