MARRAKECH, Morocco (AP) — Real Madrid's opponents in the Club World Cup final will be San Lorenzo after the South American champions ended a surprise tournament run by amateur team Auckland City with a labored 2-1 semifinal win on Wednesday.

Madrid will be the favorites on Saturday after San Lorenzo needed extra time to get past Auckland's team of part-timers and amateurs who fit football around day jobs.

It would have been the ultimate David vs. Goliath story had the Oceania champions advanced to face the world's richest team.

A shock seemed possible when Angel Berlanga's second-half goal canceled out Pablo Barrientos' first-half strike for San Lorenzo. But substitute Mauro Matos netted San Lorenzo's winner in extra time.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.