The Desert Fennecs of Algeria and Ghana on Tuesday booked places to the quarter finals of the on-going Africa Cup of Nations (Afcon).
Algeria, who are the best ranked African team by the latest Fifa rankings stopped Senegal 2-0 at the Malabo Stadium to finish top of Group D.
After a defensive mix-up in the 11th minute, Riyad Mahrez beautifully finished off a long cross to give Algeria the lead.
The Desert Fennecs who reached the knock out stage of the 2014 World Cup in Brazil continued to put the Senegal team under lots of pressure with Sofiane Feghouli and Nabil Bentaleb causing all sorts of problems.
But the Senegal team resorted to high crosses which troubled the Algerian defenders, but Sadio Mane and Mame Biram Diouf failed to make them count.
Senegal Coach Alain Giresse had to make a change in the 28th minute bring on Pape Souare for the injured Cheikh Sidy Mbengue.
In the second half, the Senegal team returned strongly but still failed to utilize their scoring opportunities. Bentaleb made it 2-0 after 82 minutes.
Bentaleb said he was very happy to score the goal that killed of the Senegal fighting spirit.
At the Mongomo Stadium, four time Afcon winners Ghana fought from a goal down to beat South Africa 2-1.
Mandla Masango gave South Africa the lead in the 17th minute, but Ghana leveled matters in the 72th minute through substitute John Boye. Andre Ayew headed in the second after 84 minutes.
Algeria will now face the second best team in Group D at the quarter final stage on February 1. The other quarter final games will see Congo Brazzaville face DR Congo, while Tunisia battle hosts Equatorial Guinea.