My question is about apartheid. Why was it first used? How long did it last?

These sites explain why apartheid was first used. It was used for hundreds of years, but apartheid became law about 1948. These laws were abolished in 1994, so it officially lasted 46 years.

http://www-cs-students.stanford.edu/~cale/cs201/apartheid.hist.html

(Broken Link Removed)