Africa Cup of Nations debutants Madagascar took a giant stride towards the next round as Marco Ilaimaharitra hammered home a late free kick to beat Burundi 1-0 in their Group B match on Thursday.
Madagascar advanced to four points from their opening two games and even if they do not finish in the top two places in the group, probably have enough points to fill one of the places in the last 16 for the four best third-placed teams.
After holding Guinea to a 2-2 draw in their opening game, the Malagasy went one better with their first ever finals victory.
Midfielder Ilaimaharitra blasted home in the 76th minute after Burundi had given away a free kick on the edge of their penalty area.
But Burundi proved the stronger side after the break, ironically after they took off a struggling captain Saido Berahino.
Then Ilaimaharitra broke the deadlock and might have scored a second from a similarly placed free kick two minutes from the end but this time it was saved by Burundi goalkeeper Jonathan Nahimana.
It was the second loss for Burundi, also competing at the finals for the first timer, after a 1-0 defeat by Nigeria.
Nigeria top the group with six points while Guinea have one. Madagascar finish the group stage against Nigeria on Sunday while Burundi meet Guinea at the same time.