If South Africa gained its independence from Britain in 1910, why did this not lead to freedom and equality in South Africa?

make the answer into a paragraph

Although South Africa gained its independence from Britain in 1910, this did not immediately lead to freedom and equality for all its citizens. The country's political landscape remained dominated by the National Party, which implemented a series of discriminatory policies known as apartheid in 1948. Apartheid enforced racial segregation, disenfranchised non-white population groups, and imposed state-sanctioned racial discrimination. The apartheid regime aimed to maintain the supremacy of the white minority, resulting in widespread social and economic inequalities along racial lines. Non-white individuals were subjected to racial classification laws, forced removals from their homes and communities, and limited access to quality education, healthcare, and employment opportunities. This system of institutionalized racism persisted for several decades, perpetuating divisions among the various ethnic and racial groups within South Africa and suppressing any prospects of freedom and equality for the marginalized communities. It was only with the end of apartheid in the early 1990s and the subsequent democratic elections in 1994 that South Africa began to embark on a path towards achieving greater freedom and equality for all its citizens.

make the answer two sentences

South Africa gaining independence from Britain in 1910 did not lead to freedom and equality due to the subsequent implementation of apartheid policies by the National Party in 1948, which enforced racial segregation and discrimination until the early 1990s.