Evidence Makgopa and Teboho Mokoena scored second-half goals as South Africa shocked Morocco with a 2-0 victory to dump the World Cup semi-finalists out of the Africa Cup of Nations at the last-16 stage in San Pedro on Tuesday.
Morocco, who had Sofyan Amrabat sent off late on, were among the favourites at the tournament in the Ivory Coast, but their continental curse continues, and they remain without AFCON title since 1976, this time undone in the muggy heat of the Laurent Pokou Stadium.
South Africa led in the 57th minute when midfielder Themba Zwane, so often the creative fulcrum of the side, slipped a pass through to tall striker Makgopa, and he calmly slid the ball past goalkeeper Yassine Bounou before Mokoena fired in a superb late free kick.
Morocco had a chance to level the score at 1-0 when they were awarded a penalty, but Achraf Hakimi hit the crossbar.
South Africa will play Cape Verde in the quarter-finals in Yamoussoukro on Saturday.