Even after going behind, they were unable to cause the organised and disciplined Moroccan defence any problems.
Morocco went into the game knowing that a draw was very likely to be enough to qualify from Group C and their game plan from the start was to stay compact and hit on the counter-attack.
It served to frustrate their opponents, who opted for the long-ball approach but failed to find any penetration.
Morocco could have added a second goal on the counter-attack but 19-year-old full-back Hamza Mendyl shot into the side netting after running half the length of the pitch.
They will play the winner of Group D in the last eight on Sunday.
NAN also reports that DR Congo reached the AFCON last eight as Group C winners with a victory that eliminated Togo.
Tournament top scorer Junior Kabananga converted Chancel Mbemba’s pass for the opener, his third goal in three games.
Kabananga hit the post with a flicked header before Ndombe Mubele doubled the lead after the break, looping the ball over the keeper amid static defending.
Kodjo Fo-Doh Laba’s tidy finish gave Togo hope, but Paul-Jose M’Poku’s free-kick secured a deserved DR Congo win.
DR Congo will go on to play the Group D runners-up in the quarter-finals, which will be either Mali, Ghana or Egypt.
- Source - NAN