Two Independent Adaptations
Genetic analysis suggests that the lactase persistence allele arose about 9,000 years ago in Europeans and 3,000 to 7,000 years ago in Africans.
This timing matches archaeological evidence for the beginning of pastoralism in Europe and Africa.