Dellahi punished some lax defending in the 36th minute and – despite a second-half onslaught – two-time tournament winners Algeria could not find a response as they finished bottom of their group for a second consecutive AFCON, while Mauritania go forward as one of the best third-placed teams.
After two successive draws had left them in trouble, Algeria coach Djamel Belmadi dropped Riyad Mahrez to the bench as he tried to freshen up his side but it did not work as Mauritania proved stubborn opponents.