The policy of separation of the races in South Africa was first adopted in the…