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.

French Open champion Gauff knocked out by Potapova in third round
Sabalenka sees off Kasatkina to reach French Open fourth round
Parry stuns Anisimova to reach first Grand Slam fourth round at French Open
Osaka survives three-set scare against teenager Jovic
Cobolli cruises past Tien in straight sets to snap American's winning run