The Dutch settled in South Africa in 1652 and believed they owned the land, defeating many Africans and forcing them to work as servants and slaves. In 1948, the racist Nationalist Party was elected and established the official policy of apartheid to completely separate the small white population from the black majority, forcing blacks into reserves and shanty towns on the edges of cities. Despite the white government trying to destroy resistors in 1986, black South Africans increased their actions against apartheid until open elections were held in 1994, which were won by the African National Congress and Nelson Mandela became the new president, ending the system of apartheid.