Slovakia midfielder Jan Gregus opened the scoring in the 59 minute, but Morocco forward Ayoub El Kaabi netted five minutes later to equalize. Younes Belhanda scored another in the 74 minute to earn his side victory.

Morocco will face Portugal, Spain and Iran in Group B, while Slovakia did not qualify for the tournament.

Russia will host its first World Cup from June 14 to July 15. The fixtures will be played at 12 stadiums across 11 cities.