Hosts Raja Casablanca of Morocco beat Mexican side Monterrey, 2-1 after extra-time, to advance to the semi-finals of the Club World Cup.
Casablanca will now face Ronaldinho's Atletico Mineiro in the last four, with the other semi featuring Bayern Munich and Guangzhou Evergrande of China.
Chemseddine Chtibi put Casablanca ahead after 24 minutes, pouncing on a loose ball after Monterrey's goalkeeper Jonathan Orozco failed to gather a cross from the right.
Chtibi's stabbed finish hit the back of the next and a partisan crowd went predictably mad in appreciation.
But Monterrey hit back in the 53rd minute through captain Jose Maria Basanta to level the match. Basanta rose powerfully at the far post to head home a free-kick.
There would be no further addition to score in normal time. The game went into extra-time and the two tired teams were facing down the possibility of penalties.
Raja Casablanca struck early in the first period, however, and held onto their 2-1 lead to the delight of home fans to set up a mouth-watering clash with Brazilian giants Atletico Mineiro on December 18.
Their decisive goal was scored by midfielder Kouko Guehi, who headed home from a corner in the 95th minute to break Monterrey hearts.
Raja Casablanca's win was their first at the fourth attempt in the Club World Cup. The Moroccan side also appeared in the 2000 version—as per FIFA—where they suffered three defeats from three matches.
Another CONCACAF disappointment in Club World Cup. Monterrey bounced by Raja Casablanca??? Maybe an MLS Club could get job done?— Max Bretos (@mbretosESPN) December 14, 2013
The Club World Cup resumes on December 17, with the first semi-final between Pep Guardiola's Bayern Munich and a Guangzhou Evergrande side managed by legendary Italian coach Marcello Lippi.