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