RUSTENBURG, South Africa (AFP) - Liverpool midfielder Xabi Alonso scored off a free kick to give Spain a dramatic 3-2 extra-time victory over South Africa on Sunday in the Confederations Cup third place play-off.
A largely incident-less game sprang to life late in the second half when Bafana Bafana (The Boys) striker Katlego Mphela scored only for another substitute, Daniel Guiza, to strike twice for Spain within 60 seconds.
Mphela struck again three minutes into stoppage time to add 30 minutes on to the match and Spain took the lead again to defeat the host nation for the second time in nine days after a 2-0 group win.
The host nation made one change from the team that held Brazil until two minutes from full-time in the semi-finals with suspended midfield 'enforcer' MacBeth Sibaya back in place of Benson Mhlongo.
Spain reacted to a shock defeat by the United States in the first semi-final with four changes as Raul Albiol, Sergio Busquets, Alvaro Arbeloa and Santi Cazorla came in and Arsenal midfielder Cesc Fabregas was among those rested.
FIFA president Sepp Blatter was present on a sunny winter afternoon in the north-west mining town and Spain were first to threaten with David Villa forcing a spectacular one-hand save from Itumeleng Khune.
South Africa crowd favourite Matthew Booth, whose every touch triggers chants of Booooooooth, let his 'fan club' down on 14 minutes after getting behind the Spanish defence.
Instead of heading to the right of goalkeeper Iker Casillas, the giant central defender could only nod the ball forward and harmlessly wide to the relief of the Euro 2008 champions.
A superb tackle from fullback Tsepo Masilela - a find of the two-week 2010 World Cup dress rehearsal - foiled Liverpool striker Fernando Torres midway through a cagey opening half.
Although South Africa lie 71 places below top ranked Spain they held their own before a crowd packed with vuvuzela-blowing spectators and when Casillas parried a Siphiwe Tshabalala drive, Booth fired the rebound wide.
Brazil-born Bafana coach Joel Santana is a hard man to satisfy and he arose from his touchline chair a couple of minutes before half-time and unleashed a verbal rant at his hard-working, organised team.
Spain midfielder Sergio Busquets was the only player cautioned in the first half and Everton star Steven Pienaar joined him in the notebook of Australian referee Matthew Breeze just after half-time.
Busquets had a goal correctly disallowed with three Spaniards offside and Khune did well to hold an Albert Riera shot as the visitors lifted their game and looked more likely to break the deadlock.
But it was South Africa who took the lead thanks to a brilliant off-the-ball run by Tshabalala, who latched on to a cross and pushed it across the goalmouth for Mphela to control before firing into the roof of the net.
It appeared enough to give South Africa victory until a remarkable end to regular time saw Spain score twice within 60 seconds through Guiza before Mphela levelled.
Guiza fired the ball through a forest of legs and past Khune into the corner for an 88th-minute equaliser and then saw his cross dip behind the goalkeeper into the net.
South Africa may have been stunned but their spirit remained strong and when awarded a free kick well outside the penalty area, Mphela stopped up and drove an unstoppable shot past Casillas.
Spain had a claim for handball inside the penalty area by Mhlongo late in the first period ignored before Alonso curled his free kick around the wall and over Fernando Llorente and Booth into the corner of the net for the winner.
|Coach: Del Bosque|
for Fernando Torres 57'
for David Villa 57'
for Busquets 81'
|FIFA Confederations Cup Preview: Italy v Japan|
|FIFA Confederations Cup: Nigeria 6 Tahiti 1|
|Borini´s Napoli move unlikely|
|Remon: Zidane not ready for Real job|
|Elyounoussi says yes to Hoffenheim|
|Mignolet agent anticipating bids|
|Schalke signs Clemens|
|Sidwell looking for settled squad at Fulham|
|Hearts set to enter administration|
|Martinez hoping to bring ´characters´ to Everton|
|Scholes sad to see Robinson leave Stoke|
|Bayern, Barca in hunt for Koscielny|
|Toulouse deny Lyon approach for Tabanou|
|Vitoria pleased with ´dream´ Benfica move|
|Poyet refuses to attend hearing|
|UEFA Under 21 Championship Final Preview: Italy v Spain|
|Van Dijk attracting foreign interest|
|FIFA Confederations Cup Preview: Brazil v Mexico|
|Brentford confirm signing of Bidwell from Everton|
|Lambert says Lowton can still improve|
|Owen not ready to become a manager|
|Rangel praises Michu impact|
|Gundogan pledges future to Dortmund|
|Tevez refuses to be drawn on speculation|
|Mourinho: Chelsea need stability|
|Reid remains at West Brom after agreeing new deal|
|Tahiti 1-6 Nigeria: Oduamadi hits hat-trick as Super Eagles smash South Pacific islanders|
|Dortmund confirm Lewandowski stay|
|Hull sign Figueroa|
|Colombia Primera Division Wrap: Santa Fe held as Pasto, Millonarios win|
|Liverpool appoint new chief financial officer|
|Isco reveals offers from Real and City|
|Bradford to start Capital One Cup campaign at Huddersfield|
|Kinnear: Cabaye will stay at Newcastle|
|Peru Primera Division Wrap: Cesar Vallejo up to fourth|
|Paraguay Division Profesional Wrap: Nacional Asuncion beaten after securing title|
|Argentina Primera Division Wrap: Blanco brace fires Lanus|
|Ecuador Primera A Wrap: Independiente held despite Guerrero stunner|
|Del Bosque satisfied with Spain´s Cup opener|
|FIFA Confederations Cup: Spain 2 Uruguay 1|
|Prandelli undeterred by plucky Mexico|
|FIFA World Cup Qualifying Wrap: Ethopia, Egypt top groups|
|Ethiopia facing FIFA investigation|
|FIFA Confederations Cup: Mexico 1 Italy 2|
|Bebe dreaming of Sporting Lisbon move|
|Pirlo confident of Italy´s Confederations Cup chances|
|Spain 2-1 Uruguay: World champions record imperious victory|
|Mexico 1-2 Italy: Balotelli fires winner in Rio|
|Kyle Lafferty joins Palermo|
|Thompson demands Australia focus|
|Benitez gives Insigne first-team hope|
|FIFA World Cup Qualifying Preview: Finals spots up for grabs|
|Kinnear set to become Newcastle´s director of football|
|FIFA World Cup Qualifying: Lesotho 0 Ghana 2|
|FIFA World Cup Qualifying: Ethiopia 2 South Africa 1|
|Lomas calls for fans´ support at Millwall|
|FIFA World Cup Qualifying Preview: South Korea v Iran|
|Ferdinand: I picked United over England|
|Buttner reveals homesickness heartache|
|FIFA World Cup Qualifying Preview: Costa Rica v Panama|
|Kidd happy to stay at City|
|FIFA World Cup Qualifying Preview: United States v Honduras|
|Garcia sets sights on Europe for Roma|
|Carroll´s future to be decided by end of next week|
|Laursen: Vlaar key to Aston Villa´s hopes|
|Aubameyang eyes Monaco move|
|Heynckes: I will not coach again|
|Mourinho and Ferguson´s secret pact|
|FIFA World Cup Qualifying Preview: Australia v Iraq|
|MLS Wrap: Whitecaps take down Revolution|
|Mexico primed for cup campaign|
|Scolari: Brazil ominously close to best|