https://en.wikipedia.org/wiki/History_of_the_Cape_Colony_before_1806
The written history of the Cape Colony in what is now South Africa began when Portuguese navigator Bartolomeu Dias became the first modern European to round the Cape of Good Hope in 1488. In 1497, Vasco da Gama sailed along the whole coast of South Africa on his way to India, landed at St Helena Bay for 8 days, and made a detailed description of the area.