The answer to the question above is the apartheid.
In South Africa, the legal separation of races into different geographic areas was known as the apartheid. It was a legal separation in South Africa happened from 1948 and lasted until the early 1990s.