Namibia is a country in southern Africa. It gained independence from South Africa on 21 March 1990, following the Namibian War of Independence. After Mongolia Namibia is the second least densely populated country in the world.