Spain booked a date with Brazil in the Confederations Cup final with an 7-6 penalty shoot-out victory over Italy at the Castelao.
Although the World Cup holders stormed to a 4-0 win over the Azzurri in the Euro 2012 final, this encounter proved far more evenly-contested.
Vicente del Bosque's men monopolised possession but lacked a cutting edge in attack, while Italy missed numerous chances throughout as the match ended goalless.
With nothing to separate the two nations the game went to penalties, where Jesus Navas proved to be the hero as he scored the crucial spot kick as the shoot-out finished 7-6 to Spain.
Cesare Prandelli switched to a three-man defence and his side began impressively, despite letting the Spaniards control possession of the ball.
The Azzurri, though, with the Fortaleza crowd backing them, looked superb on the counter-attack. After Alberto Gilardino had failed to pick out the bottom corner from Antonio Candreva's cross, they became increasingly confident and forged yet more chances to find the net.
Christian Maggio was unable to guide a header from Andrea Pirlo's exquisite pass past Iker Casillas in the 17th minute and Daniele De Rossi's glancing header missed the target 60 seconds later.
In the 19th minute Claudio Marchisio missed the best of the bunch, though, as he nodded the ball well wide of the target from Candreva's cushion despite finding plenty of space between the two centre-backs.
That flurry of activity encouraged Spain to reduce the tempo and steady themselves, but the Azzurri were again next to test the opposing goalkeeper.
Jordi Alba was being nullified by the adventurous combination of Candreva and Maggio, and the latter was only denied a goal when a brilliant Casillas save kept his 36th-minute header out of the net.
Spain almost immediately punished Prandelli's side for their profligacy in front of goal one minute later, but after turning Andrea Barzagli in wonderful fashion Fernando Torres could not find a finish to match as he pulled his shot wide of the target.
With La Roja failing to show an increased threat immediately after the restart Del Bosque introduced Jesus Navas in the 50th minute. The new Manchester City signing had a positive impact, calling Gianluigi Buffon into action with a driven shot from 20 yards shortly before the hour mark.
The conditions began to sap the life from the game as Italy lost the intent on the break and Spain continued to lack creativity. Andres Iniesta attempted to take matters into his own hands, yet after a mazy run from the half-way line he sliced an attempt wide of the goal.
There were chances for both sides to win the game in normal time, though neither team could break the deadlock. Marchisio's attempt from a Candreva cutback was blocked by Gerard Pique before Pedro and the Barcelona centre-back wasted two great opportunities to work Buffon, and extra time ensued.
After three minutes of the additional period Italy had their best chance of the night. Maggio's cross rolled through to Emanuele Giaccherini at the back post, whose attempted shot crashed back off of Casillas' post.
The tempo to the game quickly picked up again and Iniesta's beautiful lifted pass over Leonardo Bonucci was volleyed over by Alba in the 99th minute as La Roja got nearer to breaking the deadlock.
With five minutes left to play Xavi was denied an absolutely magnificent winner when his long-range shot was turned onto the post by Buffon. The Juventus keeper was forced to make another save from Navas one minute later to ensure the game went to penalties.
Candreva got Italy off to the perfect start by dinking the first penalty straight down the middle and all subsequent spot kicks were scored until Bonucci skied from 12 yards with the score level at 6-6. Responsibility fell to Navas who slotted the ball home to send Spain into the final.
Spain will now take place in Sunday's final against Brazil at the Maracana, while Italy will contest the third-place play-off against Uruguay in Salvador on the same day.
|Coach: Del Bosque|
for David Silva 53'
for Pedro 79'
for Fernando Torres 94'
|PSG´s powers of recovery impress Cavani|
|Howe ´absolutely committed´ to Bournemouth amid England links|
|Man City proved character against Celtic, says Zabaleta|
|Walcott: Sanchez partnership bodes well for Arsenal´s season|
|MLS Review: DC, Impact on track for play-offs|
|CONCACAF Champions League Review: Tigres, Dallas left waiting|
|Central Sanchez pleases Wenger|
|Barca felt Messi absence - Busquets|
|Martino knew Messi would come out of retirement|
|Shilton never convinced by Allardyce|
|Degenek replaced by Giannou for Socceroos|
|Griezmann will still take penalties - Simeone|
|Simeone proud of ´one of the best´ wins|
|Godin suffers sprained ankle ligament|
|West Ham receive positive news over injured duo|
|Robson: Four wins for Southgate and he´s an England contender|
|Sarri: Late goals leave bitter taste|
|Gunes rues Besiktas´ inability to see off Dynamo|
|Borussia Monchengladbach were exceptional against Barcelona, feels Schubert|
|PSG must be patient, says Emery|
|Celtic are lucky to have Dembele - Rodgers|
|I´m completely focused on Arsenal, insists Wenger amid England talk|
|Hasselbaink denies wrongdoing amid impropriety allegations|
|Ancelotti frustrated by slow, toothless Bayern|
|Barcelona deserved their win - Luis Enrique|
|I want Celtic atmosphere at City – Guardiola|
|Rebrov defends Yarmolenko after ´difficult´ match|
|Rostov draw is two points dropped for PSV, says De Jong|
|Torres eyeing ´magical´ year for Atletico|
|Celtic 3 Manchester City 3: Dembele at the double in six-goal thriller|
|Celtic 3 Manchester City 3: Dembele at the double in six-goal thriller|
|Rostov 2 PSV 2: Propper´s penalty miss costs visitors|
|Besiktas 1 Dynamo Kiev 1: Tsygankov stuns wasteful Turks|
|Napoli 4 Benfica 2: Mertens bags two as Napoli run riot|
|Arsenal 2 Basel 0: Walcott´s capital gains tax Swiss visitors|
|Borussia Monchengladbach 1 Barcelona 2: Pique grabs the winner|
|Atletico Madrid 1 Bayern Munich 0: Carrasco gives Ancelotti first taste of defeat|
|Ludogorets 1 Paris Saint-Germain 3: Cavani inspires comeback win|
|Premier League, FA and EFL to investigate transfer allegations|
|Vardy reveals matchday energy drink and port routine|
|Everton coping without Stones, says Jagielka|
|Sacked Jemez admits to ´great sadness´ at Granada exit after worst start in over 70 years|
|Wenger has so much to offer English football - Schmeichel|
|No truth to England rumours, says Klinsmann|
|Spalletti demands end to damaging Roma ´games´|
|De Boer: Brozovic was punished and forgiven|
|Allardyce paid price for lack of privacy - McClaren|
|Milik can match Lewandowski - Reina|
|LMA ´extremely concerned´ about manager bribe allegations|
|Iwobi: I nearly left Arsenal|
|Mata has found a ´natural habitat´ at United|
|Higuain slowly approaching top form|
|´Stupid´ Allardyce driven by money - Dyke|
|Wijnaldum vows to improve|
|Renato Sanches needs time at Bayern - Hitzfeld|
|Ibrahimovic nurturing United talent - Lingard|
|Mourinho feels sorry for Allardyce|
|United boss primed for ´must-win´ Europa League tie|
|Mourinho keen to protect under-fire Rooney|
|Jeonbuk Motors 4 Seoul 1: Leonardo brace puts hosts in the driving seat|
|Maloney returns to Scotland squad|
|Van Persie: Kids will decide my future|
|Entrapment won on this occasion - Allardyce|
|Ibra-Rashford pairing the answer for United - Neville|
|Tevez hints at imminent retirement|
|England in safe hands with Southgate - Glenn|
|Holman talks up A-League quality|
|CONCACAF Champions League Review: Red Bulls progress, Timbers win|
|Januzaj blow for Sunderland|
|Navas accepts blame for Dortmund equaliser|
|Sporting assistant Raul Jose pleased with win|
|Nuno left to regret slow start as Porto fail on English soil again|
|Vardy rejected Arsenal due to style|
|Simeone: I am not Griezmann´s mentor|
|Schmidt bemoans ´brutal´ Monaco equaliser|
|Ranieri doesn´t trust bookies over England job|
|Genesio worried wastefulness will cost Lyon in long run|
|Preud´homme admits Champions League too much for Club Brugge|
|Telegraph passes findings to FA after further corruption claims|
|Zidane: Draw difficult to accept|
|Pochettino delighted with in-form Son|
|Vietto undeterred by wasteful showing|
|Tuchel: Dortmund can still get better|
|Resilient Leicester display pleases Morgan|
|Glenn reflects on ´painful´ call to dismiss ´distraught´ Allardyce|
|Borussia Dortmund 2 Real Madrid 2: Late Schurrle strike salvages draw|
|Monaco 1 Bayer Leverkusen 1: Glik stunner snatches a point|
|Dinamo Zagreb 0 Juventus 4: Pjanic pilots comfortable victory|
|CSKA Moscow 0 Tottenham 1: In-form Son hits late winner|
|Copenhagen 4 Club Brugge 0: Delaney stunner helps Danish champions canter to victory|
|Sporting CP 2 Legia Warsaw 0: Magiera´s first game ends in defeat|
|Sevilla 1 Lyon 0: Ben Yedder seals win for Europa League holders|
|Leicester City 1 Porto 0: Slimani continues to haunt old foes|
|Shearer: Allardyce has made England a laughing stock|
|Howe, Pardew and Wenger among the contenders to succeed Allardyce|
|Emery´s PSG struggles give Ludogorets hope|
|Allardyce offers ´wholehearted apology´ for England shame|
|Lahm: ´Extraordinary´ Griezmann different to Lewandowski|
|Iniesta is the best in the world, claims Menotti|
|Irregular heartbeat ends Dempsey´s season|
|Bournemouth ´realistic´ over permanent deal for Wilshere|
|Guardiola warns against complacency|
|Allardyce and England part company after damning video|
|De Bruyne out for up to three weeks - Guardiola|
|Luis Enrique demands fast start at Gladbach|
|Ancelotti wary of Atletico threat|
|Al Ain 3 El Jaish 1: Caio capitalises on late error|
|Ter Stegen happy with solution to Bravo battle|
|Emery: PSG need time to gel|
|Hernandez: It was very difficult at Real Madrid|
|Derby stand down Pearson ahead of Cardiff match|
|Rodgers sympathises with ´poor guy´ Allardyce|
|Opponents are trying to get Ribery send off - Hoeness|
|Martino named Atlanta United head coach|
|Rodgers urges Celtic to have belief against City|
|Rodgers has made same impact as Guardiola - Brown|
|Benfica one of the best in Europe, warns Sarri|
|Menotti: Ronaldo never played in a team like Messi´s|
|Walcott happy to move on from Arsenal struggles|
|Champions League Matchday Two: Bayern hunt Atleti revenge|
|Coquelin facing three weeks out|
|Arsenal transfers beyond reproach, says Wenger|
|Schubert extends Gladbach contract|
|Lewandowski urges Bayern to learn from Atletico defeat|
|Griezmann feared Simeone to PSG was ´a done deal´|
|FA investigating Allardyce claims|
|Valencia keep Voro in charge for Atletico clash|
|One of Serie A´s all-time greats: The numbers behind Totti at 40|
|Toure brands FIFA ´complacent´ after racism taskforce closed|
|Emery expects Ronaldo to stay at Real Madrid|
|Tottenham not scared of Moscow trip - Alderweireld|
|Sessegnon signs with Montpellier|
|Rakitic delighted with form|
|Gameiro: I could have joined Barcelona|
|Stones talks up Celtic quality|
|Liverpool good enough to win title - Houllier|
|Klopp happy with Firmino in central role|
|Watford got bullied all over the pitch - Deeney|
|Nuno keen for Porto to end England misery|
|Legia boss Magiera set for whirlwind debut|
|´Terrific´ Burnley delight Dyche|