D. They needed raw materials found in Africa.
Europeans set up colonies in Africa primarily to access and exploit the raw materials and resources available on the continent, such as minerals, agricultural products, and other natural resources that were in high demand during the industrialization period.