It gained independence from South Africa in 1990 .
It gained independence from South Africa on 21 March 1990 , following the Namibian War of Independence .