 The Sanhaja Berber tribal confederation had played a key role in the formation of the Almoravid dynasty, and as a result had experienced a period of strength and power throughout the Dynasty's existence.Following its defeat and disintegration the Sanhaja were left divided and weak.The more aggressive and warlike of the Sanhaja clans dominated the smaller and weaker groups, demanding tribute.