The Group Areas Act, passed by South Africa's apartheid government in 1950, restricted the areas in which various racial groups could live and work. Of course, the best and most developed areas were reserved for white people.
Once an area had been declared "white," the government had the authority to demolish the homes of any nonwhite people who had been living there and force them to move to an area designated for their racial group. This law applied not only to white and black people, but also to the colored community and those of Indian descent.
The act was another strategy undertaken by the apartheid government to keep the Republic of South Africa segregated.
This despicable piece of legislation was eventually repealed in April 1990 as part of the gradual dismantling of the apartheid regime.