South Africa's history is very complex. It was colonized by Dutch and British imperial explorers during the 18th Century, and had a white minority ruling class. As such, it saw many of the same problems other colonies -- most notably India -- experienced.

The apartheid system mandated that citizens of South Africa were not allowed to socialize across racial lines, denying inter-race marriage. From the 50s through the early 80s, nonwhites were ruthlessly torn from their homes and forced into segregated regions, losing any rights or privileges they may have had as citizens.

South Africa was unique because the aboriginal peoples were not a single, united tribe before colonization, and therefore difficult to organize, even with the "common enemy" of their imperialist overlords, and the common goal of overthrowing them.

Nevertheless, their cause gained momentum throughout the 20th Century. Mahatma Gandhi was instrumental in bringing their plight to the international community; the United Nations along with many individual nations imposed sanctions during the 1980s. The white government finally succumbed to the pressure in 1991. South Africa united under Nelson Mandela (1918-2013) and has been successful under self-rule since then.

More Info: en.wikipedia.org