Raja Casablanca scored late into stoppage time to beat Auckland City 2-1 in the opening match of the annual Club World Cup in Morocco on Wednesday.
Abdelilah Hafidi tapped home the winner in the 2nd minute of added time to ensure the host club a winning start at the Agadir Stadium.
Raja took a 1-0 lead in the 39th through Mouhssine Iajour after he beat goalkeeper Tamati Williams with a shot into the far corner.
The New Zealand club rallied through Fijian Krishna, who found himself alone to beat keeper Khalid Askri after Mohamed Oulhaj and Ismail Benlamalem ran into each other.
Raja set up a quarterfinal match with Monterrey of Mexico after Williams saved Oulhaj's header, only for it to fall to the foot of Hafidi.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)