The Cape Colony was the first European colony in South Africa, which was initially controlled by the Dutch but subsequently invaded and taken over by the British. After war broke out again, a British force was sent once more to the Cape. After a battle in January 1806 on the shores of Table Bay, the Dutch garrison of Cape Castle surrendered to the British under Sir David Baird, and in 1814, the colony was ceded outright by the Netherlands to the British crown. At that time, the colony extended to the mountains in front of the vast central plateau, then called "Bushmansland", and had an area of about 194,000 square kilometres and a population of some 60,000, of whom 27,000 were white, 17,000 free Khoikhoi, and the rest slaves. These slaves were mostly people brought in from other parts of Africa and Malays.