Raja Casablanca booked their place in Saturday's FIFA Club World Cup final against Bayern Munich with a 3-1 win over Atletico Mineiro.
Mouhssine Iajour, Mohsine Moutaouali and Vianney Mabide scored the decisive goals for the Moroccan champions on home soil as Casablanca upset their South American opponents with a famous victory on Wednesday.
Ronaldinho had brought the sides level just after the hour with a trademark free-kick, but it was not enough as Moutaouali's late penalty and Mabide's 94th-minute effort sparked wild celebrations.
Casablanca named the same side that beat Monterrey in the quarter-final, while Atletico had Jo and Diego Tardelli in their starting line-up alongside Ronaldinho.
Jo and Ronaldinho both had chances to open the scoring for the visitors in the first half, but lacked accuracy in their finishing and failed to test Khalid Askri in the Casablanca goal.
The hosts struggled to get a foothold in the game and had to settle for rare counter-attacks through Moutaouali and Chem-Eddine Chtibi, although neither were able to produce a clear-cut opportunity.
Casablanca took the lead with a swift break out of defence after soaking up more pressure early in the second half.
Abdelilah Hafidi brought the ball out from the back and played a defence-splitting pass for Iajour to race onto before the striker composed himself and fired low into the bottom corner beyond Victor.
The hosts thought they had a second minutes later when Moutaouali played a ball across the six-yard box, but Hafidi had moved too early and was offside as he tapped into the empty net.
Atletico levelled just after the hour through Ronaldinho as the 33-year-old curled a trademark free-kick over the wall and into the back of the net.
Casablanca then took the lead again with seven minutes to play as Rever brought down Iajour. The defender was adjudged to have tripped the forward as he broke into the penalty area and Moutaouali converted from the spot.
Mabide made sure of the win in stoppage time, the substitute firing home left footed from the edge of the penalty area.
|3||Z. El Hachimi|
|Coach: F. Benzarti|
for C. Chtibi 55'
for A. Hafidi 76'
for M. Iajour 87'
|Trio offer support after Belgian footballer collapses|
|Tonelli denies making death threats|
|Bosnich pleads guilty to reckless driving|
|Baines predicts ´huge future´ for Stones|
|Montreal Impact v America: Canadians draft in goalkeeper|
|Rakitic: Barca targeting treble|
|Australia´s Franjic quits Torpedo Moscow over unpaid wages|
|Kagawa: Dortmund owe Klopp a trophy|
|Zabaleta: Pellegrini deserves more respect|
|Liverpool will challenge next season - Rodgers|
|´Eternal pessimist´ Howe applauds Bournemouth´s impending promotion|
|Moreirense 1 Sporting Lisbon 4: Montero double keeps title hopes alive|
|Bournemouth 3 Bolton Wanderers 0: Howe´s men on the verge of the Premier League|
|Valencia 4 Granada 0: Hosts resume fourth place with thrashing|
|Turkish Super Lig Review: Besiktas back on top as Fenerbahce slip|
|Denis hit with five-game ban for dressing-room attack|
|Arabian Gulf League Review: Ajman relegated, Al Jazira close in on second|
|Zanetti: Icardi close to signing new deal|
|Pfaff hails Neuer´s consistency|
|Blanc: PSG can cope with physical demands|
|Bruce: Premier League must act on ticketing prices|
|Milan v Genoa: Off-field problems dominate build-up for Inzaghi´s men|
|Juventus v Fiorentina: Champions seek derby reaction with title in sight|
|Arminia Bielefeld v Wolfsburg: Hecking´s men in last-chance saloon|
|Real Madrid v Almeria: Rodriguez vows to fight until the end|
|Klopp ´an option´ to replace Guardiola at Bayern|
|Home form crucial for Premier League survival, says Bruce|
|Leicester City v Chelsea: Mourinho backs Pearson´s men to survive|
|Villarreal v Atletico Madrid: Marcelino´s men bidding to end winless run|
|Bundesliga title a footnote in Bayern´s grand plans|
|Robben back as Guardiola calls for focus|
|Mancini: Be patient with Shaqiri, Podolski|
|Klopp shrugs off Gundogan speculation|
|Run-in does not favour Barca - Luis Enrique|
|Mourinho takes further swipe at ´boring´ claims|
|Watford must spend smart, says Hyde|
|Allegri saddened by derby crowd trouble|
|Thompson ´mortified´ after throwing pole into team-mate´s leg|
|Hernandez not concerning himself with future|
|Stranzl to play no further part in Gladbach season|
|Rodgers keen to address lack of goals|
|Giroud cannot fire Arsenal to title - Henry|
|Do not destroy Sterling, says Campbell|
|Fournier: Lyon still dreaming|
|United performance Stones´ best - Martinez|
|Carver: Abuse from fans unacceptable|
|No shame in second place - Pellegrini|
|Humble Hazard thrilled with PFA honour|
|La Liga Preview: Real continue Barca pursuit against Almeria|
|Serie A Preview: Roma eye much-needed win|
|MLS Review: Toronto end drought, Red Bulls stay unbeaten|
|Chelsea to face Sydney in June|
|Liverpool can attract players - Rodgers|
|Bayern celebrate three-peat|
|Hernandez form forces Ancelotti´s hand|
|Hazard crowned PFA Players´ Player of the Year|
|Weidenfeller ruled out of Dortmund-Bayern semi-final|
|Weidenfeller ruled out of Dortmund-Bayern semi-final|
|Ligue 1 Review: Lens´ fate all but sealed, Lyon return top|
|La Liga Review: Hernandez rescues Real, Sevilla up to fourth|
|Paris Saint-Germain v Metz: Injuries prove a frustration for Blanc|
|Serie A Review: Juve made to wait as Parma fight another day|
|Celta Vigo 2 Real Madrid 4: Hernandez to the rescue again|
|Barcelona v Getafe: Iniesta keen to maintain momentum|
|Milan players in ´retreat´|
|United have opened the door for Liverpool - Van Gaal|
|Mourinho hits back at Arsenal fans´ ´boring´ jibes|
|Juve were own worst enemy in derby defeat – Allegri|
|Bundesliga Review: Gladbach victory ends title race|
|Udinese v Inter: Mancini braced for crucial week|
|Primeira Liga Review: O Classico tie leaves Benfica on the brink|
|Bayern Munich v Borussia Dortmund: Klopp prepares for final Klassiker|
|Russian Premier League Review: Zenit edge closer to glory, Amkar Perm off the bottom|
|Arsenal played with handbrake on - Wenger|
|Mourinho swerves Oscar discussion to hail Terry display|
|Bayern´s title confirmed as Wolfsburg stumble at Gladbach|
|Eredivise Review: Late leveller see Ajax secure Champions League berth|
|Arsenal 0 Chelsea 0: Oscar decision in the spotlight after stalemate|
|Van Gaal bemoans lack of fighting spirit|
|Van Gaal: United to assess Rooney injury|
|Torino 2 Juventus 1: First derby defeat since 1995 puts title celebrations on hold|
|Martinez hails Everton´s ´incredible mentality´ after beating United|
|Everton 3 Manchester United 0: Martinez outwits Van Gaal in comprehensive win|
|Dundee United 0 Celtic 3: Griffiths´ hat-trick edges champions closer to title|
|Alderweireld reveals he has broken shoulder bone|
|Hull City v Liverpool: Lovren expecting another test of patience|
|Leverkusen dealt Papadopoulos blow|
|Five in a row for Champions League winners Auckland|
|Vermaelen cleared to play in Barca run-in|
|Hughes buoyed by Odemwingie return|
|Allardyce hails Adrian heroics|
|Villa confident of staying up - Sherwood|
|Zorc rejects talk of Gundogan departure|
|´Happy´ Hazard rejects talk of Chelsea exit|
|A-League Review: Victory claim Premiers´ Plate|
|Pochettino hoping to strengthen|
|Pjanic critical of Roma spirit|
|Rodgers: No room for error now|
|MLS Review: Revolution win big as Dynamo, Kansas City draw|
|Garcia rues sloppy build-up play|
|Jokanovic eyes title for Watford|
|Blanc: PSG have moved on|
|Hazard worth ´£100m each leg´ - Mourinho|
|Ferguson: United boss can break my trophy record|
|Levante leap clear of La Liga drop zone|
|Primeira Liga Review: Gil Vicente claim vital win, Estoril and Rio Ave held|