In South Africa, the period of colonization resulted in many unions and marriages between European and Africans (Bantu peoples of South Africa and Khoisans) from various tribes, resulting in mixed-race children. As the European colonialists acquired control of territory, they generally pushed the mixed-race and African populations into second-class status. During the first half of the 20th century, the white-dominated government classified the population according to four main racial groups: "Black", "White", "Asian" (mostly Indian), and "Coloured". The Coloured group included people of mixed Bantu, Khoisan, and European descent (with some Malay ancestry, especially in the Western Cape). The Coloured definition occupied an intermediary political position between the Black and White definitions in South Africa. It imposed a system of legal racial segregation, a complex of laws known as apartheid.