Togo Striker Emmanuel Adebayor scored the first goal
Togo put themselves back in contention in Group D at Algeria's expense, after beating the Desert Foxes 2-0 in an engaging contest in Rustenburg, which meant the North African side became the first country to crash out of the Nations Cup.
Striker Emmanuel Adebayor put the Togolese ahead in the first half, coolly slotting under onrushing Algerian goalkeeper Rais Mbolhi, reports the BBC.
Substitute Dove Wome doubled their lead in extended injury time, after referee Hamada Namplandraza added 13 minutes.
Algeria had dominated for long periods but were unable to find an equaliser.
The result leaves the North Africans unable to progress and ensures Ivory Coast's progression, after their earlier 3-0 win over Tunisia.
Togo, meanwhile, go into their final group game with the Elephants in a good position to qualify for the knockout stages for the first time.