Answer = the Apartheid Legislation
After the National Party gained power in South Africa in 1948, its all-white government immediately began enforcing existing policies of racial segregation under a system of legislation that it called apartheid.
They were also forced to live separately