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'
|Borussia Dortmund 3 Werder Bremen 2: Dortmund seal European spot as Klopp says farewell|
|Bayern Munich 2 Mainz 0: Schweinsteiger nets as champions celebrate title|
|Championship play-off final Preview: Karanka and Neil eye swift ascent to Premier League|
|Volland commits to Hoffenheim|
|Monk: Michu likely to move on|
|Allardyce not interested in Newcastle revenge|
|Sherwood confident of Benteke Villa stay|
|Rodgers calls on Liverpool fans to support Sterling|
|Khedira ´frozen out´ by Real|
|Hamstring injury rules Suarez out of Deportivo clash|
|Former Southampton managers hail ´excellent season´|
|Mourinho wants to remain in England after Chelsea|
|Rodgers ´150 per cent sure´ his job is safe|
|Maldini would ´love´ to help Milan|
|Doyle set for Rapids debut versus Whitecaps|
|MLS Review: Champions end winless run on day of late drama|
|Jemez doubted Rayo future|
|Zenga could replace Mihajlovic - Osti|
|Blanc wants to avoid Chelsea-like finish|
|Menez happy in Milan|
|Sherwood: Vlaar wants to stay|
|Arsenal v West Brom: Wenger calls for focus|
|Porto 2 Penafiel 0: Danilo scores in farewell game|
|La Liga Preview: Eibar, Almeria hoping for final-day salvation|
|Eredivisie play-offs: Go Ahead suffer surprise defeat, NAC win|
|South Africa warm up for COSAFA Cup with victory|
|Rodriguez will be like a new signing - Adkins|
|Renard leaves Ivory Coast role amid Lille speculation|
|Howedes doubtful for start of next Bundesliga campaign|
|Deschamps: Pogba and Evra will be happy to face Albania|
|Everton v Tottenham: Pochettino eyeing fifth spot|
|Crystal Palace v Swansea City: Pardew admits to talent envy|
|Van Gaal confident of keeping De Gea|
|Spurs to support Adebayor over family issues|
|Manchester City v Southampton: Koeman expects no favours from hosts|
|Chelsea v Sunderland: Champions set to finally lift trophy|
|Mancini: Inter need quality|
|Van Gaal: No favours for ex-United captain Bruce|
|Leicester City v QPR: Ramsey expects doomed Rangers to show pride|
|Koeman expecting quieter close season|
|Hughes delivers positive update on Bojan|
|Advocaat considering Sunderland offer|
|Hull City v Manchester United: Bruce accepts survival is tall order|
|Stoke City v Liverpool: Rodgers keen to move focus away from Sterling|
|Allardyce won´t let us down, says Bruce|
|Berahino can leave for top-four club - Pulis|
|Aston Villa v Burnley: Sherwood wanting win ahead of cup final|
|Big clubs would be making a ´mistake´ signing Bolasie|
|Peterborough announce Robertson as new manager|
|Relieved Sherwood eager to kick on|
|Newcastle United v West Ham: Carver dreading ´unbearable´ drop|
|Pellegrini unsure over Milner future|
|I am not good enough to win treble every year - Guardiola|
|Luis Enrique refuses to be drawn on Barca future|
|Ntep handed France call-up|
|Allegri compares Juve to class of 2003|
|My future to be decided on Monday - Allardyce|
|Ancelotti expects to stay at Real despite speculation|
|Play-off finals to go ahead despite discovery of World War II bomb|
|Mourinho lauds ´legend´ Lampard|
|Milan v Torino: Shadow of Ancelotti hangs over Inzaghi|
|Speroni extends Palace contract|
|Ramsey issues QPR warning|
|Valverde signs new Bilbao contract|
|Welbeck could miss FA Cup final and England double header|
|League One play-off final Preview: Preston hoping to end hoodoo|
|Rodgers expects Sterling talks to resume|
|Martinez dismisses Oviedo exit talk|
|Neil hoping to draw on previous play-off success|
|Cisse weighing up offers from USA, India and Poland|
|Hazard announced as Premier League´s Player of the Season|
|United should sign Cech if De Gea leaves - Scholes|
|Copa Libertadores Review: Cruzeiro draw first blood away from home|
|MLS Preview: Wondolowski poised for 100-goal club|
|Ligue 1 Preview: Monaco, Marseille, Saint-Etienne battle for Champions League spot|
|Bundesliga Preview: Relegation battle set for dramatic end, Dortmund to farewell Klopp|
|Serie A Preview: Radu in doubt for crucial Rome derby|
|Stankovic denies talk of Inter return|
|Benitez would be ´happy´ to manage Real - agent|
|Newcastle not expecting favours from Allardyce - Carver|
|Lacazette can be ´world class´ - Houllier|
|Hodgson defends Sterling|
|Eredivisie Review: Heerenveen and Vitesse seize initiative|
|Prince Ali confirms World Cup expansion plans|
|Giroud hits back at ´dull´ Henry over Arsenal comments|
|Real Madrid v Getafe: Ancelotti banned in potential Bernabeu farewell|
|Stoke secure permanent Wollscheid deal|
|Ligue 1 relegation places cut to two|
|Bayern Munich v Mainz: Champions out to ring in title with return to form|
|Granada v Atletico Madrid: Tiago ready for difficult final day|
|Luis Figo statement on FIFA president candidacy withdrawal|
|Barcelona v Deportivo La Coruna: Xavi prepares to bid farewell to La Liga|
|New Liverpool deals for Ibe and Flanagan|
|The tooth hurts for Hazard as he looks set to miss Sunderland clash|
|Juventus v Napoli: Double winners prepare to celebrate|
|Luis Figo withdraws from FIFA presidency race|
|Bielsa not expecting contract offer from Marseille|
|Hodgson: No England rift with United over Shaw|
|Genoa v Inter: Mancini´s men chase European berth|
|Borussia Dortmund v Werder Bremen: Klopp looks to sign off with European qualification|
|Bartomeu hits out at Ancelotti to Barca rumours|
|Paris Saint-Germain v Reims: Parisians ready to celebrate title triumph|
|I have not spoken to any clubs, insists Klopp|
|League Two play-off final Preview: Ainsworth claims underdog status|
|Sheringham named Stevenage boss|
|Lawless banned for football betting|
|Defence should be United´s priority, says Stam|
|Klopp vows to ignore nostalgia at final home game|
|Hodgson excited by new England call-ups|
|Xavi: Barca will survive without me|
|Benzema sustains hamstring injury|
|Maiden England call-ups for Austin, Vardy and Heaton|
|Kramer relishing Leverkusen return|
|Xavi confirms Barcelona departure|
|Sterling ´definitely not signing´ new Liverpool deal - agent|
|Herrera eyes second-season improvement|
|Kane plans long Tottenham stay|
|Schmidt signs new Leverkusen deal|
|Sterling should stay at Liverpool, says Redknapp|
|Van Praag withdraws from FIFA presidential race|
|Financial fair play here to stay, warns Platini|
|Zidane: Gerrard and me are alike|
|Drobny ruled out of Hamburg finale|
|Defoe: We want Advocaat to stay|
|Zorc expects Hummels to stay|
|Wilshere happy with position|
|Moreno talks up Europa League|
|Santa Fe 1 Internacional 0: Mosquera nets injury-time winner|
|Sporting Kansas City 4 New England Revolution 2: Nemeth inspires victory|
|Dunga calls up Fred, Felipe Anderson for Olympic trials|
|Koke wants to be Atleti´s Gerrard|
|Tinkler: FFA are ripping off owners|
|Klopp will excel at big club - Feulner|
|Allegri concedes cards fell Juve´s way|
|Estoyanoff cops six-game ACL ban for punching|
|Desailly: Mourinho would have won title with City|
|Teary Advocaat delighted to silence the Sunderland doubters|
|Pioli bemoans Lazio´s lack of luck|
|Chiellini salutes Juve fight after Coppa triumph|