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