The Apartheid government of South Africa resulted in the forced removal of 3.5 million black South Africans between 1960 and 1986. This all white government made legal segregation possible in South Africa. This forced millions of individuals to move and started segregated public facilities. During this era, there was very little contact between white and black South Africans.
If the government was elected, they know they won't always be in power: they need to be re-elected. In order to be re-elected they have to do their work well and not abuse the power: this limits the power of government.