Morocco
Morocco, the host nation of CHAN-2018 and a favourite for the title, will face Libya in the semi-finals on Wednesday in Casablanca, while Nigeria will face Sudan in Marrakech.
Morocco, who topped their group have so far scored nine goals scored, conceding just one in four games including six by tournament top scorer Ayoub El-Kaabi alone, will be favourites in front of their home crowd.
Libya had to contend with extra time and only got their ticket against Congo Brazzaville on penalties (5-3).
Nigeria were also pushed into extra-time on Sunday afternoon before beating Angola 2-1. The Super Eagles will face Sudan, who shocked high flying Zambia 1-0 on Saturday, for a place in the final next Sunday.
The Nigerians had to come from a goal down after Vladimir Antonio opened the scoring for Angola in the 56th minute. Anthony Okpotu rescued the game for the Nigerians when he scored the equaliser in the final moments of regular time (90th+1).
Gabriel Okenchukwu then scored the Nigerian winner in the 109th minute after a brilliant individual run facilitated by sloppy defending from Angola.
Quarter-final Results
Morocco 2 Namibia 0
Zambia 0 Sudan 1
Nigeria 2 Angola 1
Congo 3 (1) Libya 5(3)
Semi-final Fixtures
Morocco Vs Libya (Casablanca)
Nigeria Vs Sudan (Marrakech)
01:14
Tinubu pardons the Ogoni Nine activists, 30 years after their execution
02:18
Nigerian animation shines at Annecy Film Festival
01:10
Ghana ends support to Western Sahara, backs Moroccan autonomy plan instead
Go to video
Ghanaian citizens can now travel to Morocco without a visa
48:03
Half a century later, Is ECOWAS falling apart? [Africanews Debates]
01:08
Nigeria: Death toll rises to at least 200 in devastating floods