A Dutch colony was established in South Africa when the Dutch East India Company set up a shipping station at the Cape of Good Hope in 1652. In 1815, Britain captured the territory at the Battle of Blaauwberg, setting the scene for an influx of British settlers who were culturally at odds with the existing Boer population, notably with respect to issues such as the abolition of slavery. Many Boer farmers from the Eastern Province of the Cape Colony elected to move away from British influence into the hinterland, which resulted in a mass migration known as the Great Trek. As people moved inland, prospecting for minerals started; in the 1870s, the discovery of diamonds in the area of present-day Kimberley was followed a decade later by the discovery of gold in the Witwatersrand. The discoveries led to a massive influx of "Uitlanders" (Dutch for "foreigners") into the Boer republics of the Orange Free State and Transvaal.