 Traditionally the Berber element of the army had the strongest sway over political affairs, but as the Turkish element grew more powerful, it began to challenge this, and by 1020 serious riots had begun to break out among the Black African troops who were fighting back against a Berber-Turk Alliance.By the 1060s, the tentative balance between the different ethnic groups within the Fatimid army collapsed as Egypt suffered an extended period of drought and famine.Declining resources accelerated the problems among the different ethnic factions, and outright civil war began, primarily between the Turks under Nasir al-Dawla ibn Hamdan and Black African troops, while the Berbers shifted alliance between the two sides.