A late Wiliam Ekong goal gives the Super Eagles a place in the semi-finals of AFCON 2019.
The local crowd in the Cairo International stadium were expecting to see Egypt in this quarter-final but instead, they had to watch their conquerors South Africa play Nigeria.
Perhaps not surprisingly the fans switched their support to the Super Eagles.
Who always looked the more dangerous team, particularly when Arsenal midfielder Alex Iwobi was on the ball.
His combinations with Ahmed Musa and Samuel Chukwueze provided most of the threats and it was through those players that Nigeria took the lead half-way through the first period.
Nigeria were on top and the opposition were not getting close to Akpeyi's goal.
The second half continued in a similar pattern with Peter Etebo driving in a free-kick.
However, it was just a single-goal lead and most teams can score from a set-play.
And so it was for Bafana Bafana after a free-kick was knocked back to Bongani Zungu who headed home the equaliser.
Though the goal had to confirmed by VAR after a linesman's flag went up.
A setback for the dominant Nigerians but they would eventually get their reward.
It came in the closing minutes when a corner was misjudged by goalie Williams which allowed William Ekong to score the winner.
So a deserved place in the last four for the Super Eagles.
While Stuart Baxter's South Africa had the consolation of beating the hosts in the Round of 16.
report & analysis - John Bethell