Answer:
Namibia, located in southwestern Africa, was a German colony from 1884 until the end of World War I. In 1915, during World War I, South African forces invaded Namibia and took control of the territory from German colonial forces, with the support of the British Empire. The South African government subsequently declared Namibia to be a South African colony, which it remained until independence in 1990.
The invasion of Namibia by South African forces was part of a larger campaign by the British Empire to seize German colonies in Africa during World War I. South African troops, under the command of General Louis Botha, launched a military campaign against German forces in Namibia in 1914, with the support of British naval forces. By 1915, they had succeeded in driving the German colonial forces out of the territory, and South Africa took control of Namibia.
After the end of World War I, Namibia was placed under the administration of the League of Nations, with South Africa appointed as the mandatory power responsible for its administration and development. However, South Africa's administration of Namibia was characterized by oppression, segregation, and discrimination against the country's black population. The South African government implemented policies of forced labor, land confiscation, and segregation, which led to widespread poverty and suffering among the country's black population.
In the 1960s and 1970s, Namibians began to organize and resist South African rule, and a long struggle for independence began. The United Nations condemned South Africa's occupation of Namibia as illegal and called for the country's independence, but it wasn't until 1990, after years of armed struggle and international pressure, that Namibia finally gained its independence from South Africa.
In summary, Namibia became a South African colony in 1915, when South African forces invaded and took control of the territory from German colonial forces. South Africa's administration of Namibia was characterized by oppression, segregation, and discrimination against the country's black population, and it wasn't until 1990 that Namibia finally gained its independence from South Africa.