Which european country that colonized South Africa?

In 1899, Britain set out to complete its takeover of what is now South Africa, which had begun in 1814 with the annexation of the Cape Colony, by invading the Afrikaner republics of the gold-rich Transvaal and the neighboring Orange Free State. The chartered British South Africa Company  had already seized the land to the north, renamed Rhodesia after the Cape tycoon Cecil Rhodes.