South Africa survived a late penalty scare to knock pre-tournament favourites Morocco out of the Africa Cup of Nations and reach the quarter-finals.

Bafana Bafana were the better side and eventually ran out 2-0 winners over the 2022 World Cup semi-finalists – who had Sofyan Amrabat sent off in the closing stages after Achraf Hakimi had missed from the spot.

South Africa won just one group game to reach the knockout stages while Morocco had dominated Group F as they went in search of just a second AFCON title.

It was Hugo Broos’ side, however, who would hit the front as Evidence Makgopa finished off a flowing move with a low strike just before the hour.

Morocco toiled for an equaliser and were presented with the perfect chance to level from the penalty spot with just five minutes remaining.

A VAR check saw South Africa defender Mothobi Mvala penalised for handball but Hakimi smashed the resulting spot-kick against the crossbar.

Things went from bad to worse for Morocco as they chased the game, with Amrabat sent off for tripping Teboho Mokoena as he bore down on goal.

The Manchester United loanee thought he had been given a reprieve as VAR intervened but instead they recommended referee Mahmood Ismail upgrade the second booking to a straight red.

To add insult to injury, Mokoena dusted himself off to brilliantly convert the resulting free-kick and send South Africa into a quarter-final clash against Cape Verde.

South Africa advanced to the Africa Cup of Nations last 16 with Tunisia crashing out as the sides played out a goalless draw in their final Group E match in Korhogo.

Tunisia substitute Haythem Jouini headed over from a great position late on as the 2004 champions failed to secure the win they required to keep their campaign alive.

While Jalel Kadri’s side finish bottom of the group with two points, Hugo Broos’ South Africa went through with four – claiming the runners-up spot behind Mali.

Namibia, with whom Mali drew 0-0 on Wednesday, have also qualified for the next round as one of the group stage’s four best third-placed finishers.

After a cagey start, pressure from Tunisia saw Ellyes Skhiri shoot too high and Elias Achouri put a header wide.

South Africa responded with Evidence Makgopa heading off target and Thapelo Morena unleashing a 33rd-minute strike that just missed the top corner.

Mothobi Mvala and Percy Tau produced further unsuccessful efforts for the Bafana Bafana towards the end of the first half.

Neither side was able to fashion much in the way of attack after the break until a flurry of attempts from South Africa that started with a Sphephelo Sithole drive that was parried by Bechir Ben Said with just under 15 minutes of normal time remaining.

Subsequent shots from Teboho Mokoena and Tau went wide before Ben Said kept out Makgopa’s header.

As Tunisia made a late push to save themselves, Jouini squandered a great chance in the 89th minute as he headed over from fellow substitute Sayfallah Ltaief’s cross.

Another header, from skipper Yassine Meriah, then had the same outcome in stoppage time as the Eagles of Carthage’s hopes of progress ended.

Namibia head coach Collin Benjamin believes his side are “immune” to their underdogs status as they attempt to make history on Sunday.

Deon Hotto’s late header gave the Namibians their first ever win in the Africa Cup of Nations as the Brave Warriors stunned 2004 champions Tunisia 1-0 in their Group E opener earlier this week.

Another surprise victory when they take on South Africa in Korhogo this weekend would represent a major step towards reaching the knockout stages of the competition for the first time.

And Benjamin argued one of the touchstones of his side’s successful start to their campaign has been their ability to block out noise from outside the camp.

“They are just focused on the task at hand. I have never seen such dedication from a group of players,” said Benjamin. “On the field, in the gym, during breakfast, they are just focused. Even I am afraid of them!

“They not only carrying their own aspirations but it’s the hopes and dreams of the entire nation. For us being underdogs to a certain extent we are immune to it.

“We are preparing properly and as professionals. We are going to give everything, and this is what we live for.”

South Africa are looking to rebound from their 2-0 loss to Mali earlier this week, with Bafana Bafana boss Hugo Broos urging his side to learn from their errors.

“The only thing that we cannot do is to repeat the same mistakes that we made with Mali,” Broos said in quotes on the competition’s official website.

© 2023 SportsMaxTV All Rights Reserved.