Omar Marmoush netted the opener and Mohamed Salah scored the decisive goal as Egypt ended Ivory Coast’s reign with a narrow 3-2 triumph in Saturday’s Africa Cup of Nations quarter-final, while Nigeria overcame Algeria 2-0.
Centre back Rami Rabia was the other scorer for the Egyptians, who had little possession at the Grande Stade Agadir but took their chances with clinical precision and held on grimly to book a semi-final meeting with Senegal on Wednesday.
An own goal from Ahmed Fatouh and a late effort by Guela Doue proved insufficient for the Ivory Coast, winners of the tournament on home soil two years ago but now deposed as African champions.
Earlier on Saturday, Nigeria overpowered Algeria 2-0 in Marrakech and will take on hosts Morocco in the other semi-final.

England dismiss Pakistan for 110 to seize control of Lord's test
Raphinha, Fermin score as Barcelona beat Athletic in home opener
Celtic and Rangers to play cup match behind closed doors after pitch invasion
Chelsea and Fulham reach League Cup third round as Welbeck scores on debut
PSG to meet Barca, Man City as Champions League draw throws up marquee ties