How come South Africa voted mostly for the right-wing Nationalist Party before 1994 but after 1994 vote for left-wing ANC?

What caused the shift in voting pattern?
5 answers 5