The referee blows his final whistle, Morocco reach the AFCON quarters for the first time in 13 years!
Morocco are few minutes away from a valuable victory that will take them to the last eight.
Hamza Mendyl squanders a golden chance to double Morocco's lead! he outpaces his challenger to run onto a deft through ball but his shot from a tight angle hits the side netting.
Cote d'Ivoire pile on pressure in a desperate attempt to overturn the score.
Wilfried Zaha is thwarted by the impressive Munir Mohamedi from close range.
Some ugly scenes here, players from both sides shove each other.
Rachid Alioui opens the scoring in brilliant fashion. His right-foot curler from 25 yards catches out the advancing keeper to leave Cote d'Ivoire with an uphill climb.
GOOOOAAAAAAAL FOR MOROCCO!!
Morocco are holding firm as they need only a draw to advance. Cote d'Ivoire look short of ideas in the final third.
Morocco look a much improved side in the early stages of the second half.
Morocco defender Benatia tries to lob the advancing keeper but his effort misses the target.
The second half is underway.
The referee blows his halftime whistle.
Morocco keeper Munir El Kajoui on alert to block a far-post header from Kalou.
The  first chance for Cote d'Ivoire! Wilfried Zaha pounces on a defensive lapse as he is found unmarked on the left hand side of the area but his low shot is blocked by Morocco keeper Mohamedi El Kajoui.
Cote d'Ivoire forward Wilfried Bony (L) heads the ball next to Morocco's midfielder Mbarek Boussoufa.
Every free kick for Morocco is dangerous, thanks to Faycal Fajr!
What a chance for Morocco! set-pieces specialist Faycal Fajr curls a free kick that comes back off the bar.
Cote d'Ivoire push forward en masse while Morocco rely on breakaways.
A free kick by Salomon Kalou is deflected by the Moroccan wall for a corner.
No threats at either end in the first 10 minutes.
Cote d'Ivoire keeper Sylvain Gbohouo rushes out to collect a long ball from Morocco.
The match is underway.
Stay tuned as match is due to start at 21:00 Cairo time (GMT+2)