Morocco fought back from behind twice before securing an entertaining 4-2 victory over Haiti in Atlanta to seal second place in Group C.
Already eliminated from the tournament, Haiti played with freedom and stunned Morocco by taking an early lead. Jean-Kevin Duverne delivered a cross that Lenny Joseph cleverly redirected towards goal, with the ball finding its way past Yassine Bounou.
Morocco responded strongly and eventually equalised through captain Achraf Hakimi after goalkeeper Johny Placide failed to deal with a dangerous cross.
Haiti regained the lead in spectacular fashion when Duverne won possession high up the pitch and Wilson Isidor unleashed a powerful strike into the top corner from distance.
The Atlas Lions refused to panic and levelled again just before half-time. Hakimi delivered an excellent cross and Ismael Saibari finished first time into the bottom corner. The goal meant Saibari scored in all three group-stage matches.
READ: Brazil Cruise Past Scotland to Finish Top of Group C
With top spot still a possibility, Morocco pushed hard after the interval. Their pressure finally paid off when substitute Soufiane Rahimi met a flick-on from Chadi Riad and saw his effort deflect into the top corner.
Morocco added a fourth goal in stoppage time when Rahimi squared the ball for Gessime Yassine to score his first senior international goal and complete the comeback.
Although the result was not enough to overtake Brazil at the top of the group, Morocco advanced with seven points and extended their unbeaten run to 32 matches in all competitions. Haiti’s World Cup campaign ended without a point despite producing their most competitive performance of the tournament.