Before colonial rule, Africa comprised up to 10,000 different states and autonomous groups with distinct languages and customs.