Morocco became the latest giants to be toppled at a shock-filled Africa Cup of Nations when they fell 2-0 to South Africa on Tuesday, while Mali also booked a quarter-finals place.
Evidence Makgopa and Teboho Mokoena scored in the second half for Bafana Bafana, who once again proved a bogey team for the Atlas Lions, whose Achraf Hakimi missed a penalty.
Since becoming the first African side to reach the World Cup semi-finals in Qatar two years ago, Morocco have lost two of 13 matches, and both defeats were inflicted by South Africa.
The shock last 16 result in the muggy Ivory Coast coastal city of San-Pedro came after Mali overcame Burkina Faso 2-1 in Korhogo with Lassine Sinayoko scoring what proved the key goal.
Morocco join defending champions Senegal, Tunisia, Algeria, Cameroon and Burkina Faso as teams ranked among the top 10 in Africa heading home early.
On Saturday, South Africa will face Cape Verde in Yamoussoukro after hosts Ivory Coast and Mali clash in Bouake.
In the other quarter-finals, Victor Osimhen-inspired Nigeria face Angola and the Democratic Republic of Congo meet Guinea on Friday. South Africa, Ivory Coast, Nigeria and DR Congo are former champions while the other four title contenders are hoping to conquer Africa for the first time.
While Morocco, thanks to their World Cup heroics, were favoured to eliminate South Africa, two factors suggested there was a chance of a shock. South Africa had won two and drawn two of five previous Cup of Nations meetings with Morocco from 1998.
And despite being an African powerhouse for decades, Morocco have consistently flopped at the Cup of Nations since their lone triumph 48 years ago.
Coach Walid Regragui called the repeated failures an “African curse” and the former national team full-back saw clinical South Africa pull off a deserved victory.
Makgopa stayed just onside to fire Bafana in front on 57 minutes and Morocco squandered a great late chance to equalise when Hakimi fired a penalty against the crossbar and over.