A dramatic penalty shoot-out decides this quarter-final.
As Algeria keep their nerve to set up a meeting with Nigeria in the last four.
Large groups of Algerian fans made their way to Suez for this heavyweight encounter with the Ivory Coast.
They would eventually go home happy after the Desert Foxes edged the Elephants in a dramatic penalty shoot-out.
The game began with the Ivorians threatening through Max Gradel and Zaha down the flanks.
But Algeria survived those early issues and went ahead after Guedioura broke through down the left and centred for Feghouli to drive in the opener.
Both those two Algerians and Belaili were often prominent - more so than Mahrez (who would eventually be substituted)
Algerian ended the half with the advantage and they should have gone further ahead after striker Bounedjah was brought down in the area.
The same man stepped forward to take the kick but he placed it off the bar and over (much to his distress)
It would prove significant because the Ivorians soon carved out a fine leveller when Wilfried Zaha (who had survived a possible earlier dismissal) surged through and passed to Jonathan Kodja who resisted a tackle and neatly drove in left-footed.
The game then went from end to end with Belaili going close.
But neither side could break through and we went into extra time.
With the pace tending to slacken and the chances being limited.
And so on to the penalty drama.
After both teams scored twice up came sub. Wilfried Bony and his weak effort was easily saved by Mbohli.
Delort and Ounas then both converted as did Max Gradel (in summary fashion)
Which seemed to leave Belaili with the clincher but his shot hit the post.
However, his dismay soon changed when Serey Die clipped his effort off the same post.
So Algeria had won 4-3 on spot-kicks much to the enjoyment of their passionate fans.
The Desert Foxes would meet Nigeria in the semi-finals for what could be another very close matchup.
report & analysis - John Bethell