Was discrimination happening in south Africa before it became law of the land under apartheid

Yes, discrimination was already happening in South Africa before apartheid became law. The colonial and apartheid policies enforced segregation and discrimination against the black majority, resulting in unequal access to resources, opportunities, and basic human rights. The formal implementation of apartheid in 1948 only intensified and codified these discriminatory practices.