Bongani Zungu's second-half header earned South Africa a 1-0 win over battling Namibia to boost their hopes of reaching the Africa Cup of Nations knockout stage.
Zungu converted from Percy Tau's corner in the 68th minute as South Africa bounced back from their opening defeat to Ivory Coast.
Bafana Bafana boss Stuart Baxter had warned his side ahead of the match not to underestimate Namibia and they did indeed prove tough opposition, goalkeeper Lloyd Kazapua proving equal to Themba Zwane's effort in the first half.
But Baxter's men finally made the breakthrough from a set-piece and closed out victory.
Victory moved South Africa level on three points with Ivory Coast in Group D ahead of their third match against already-qualified Morocco.
Namibia, despite two defeats from two, are not yet out of it, but need to beat Ivory Coast and hope South Africa lose to Morocco to stand any chance of progressing.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By PA sport staff');
ga('pacontentapi.set', 'dimension2', '49d530b9-e2e5-493a-8ec3-087d207236d3');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:football,paservice:sport:match-reports,paservice:sport:world');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:football');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Bongani Zungu heads South Africa to victory over Namibia'});