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'
|Rodgers: Celtic growing in confidence in Europe|
|Brazil-Colombia friendly proposed to raise money for Chapecoense|
|If you don´t play, you can´t shine - Hummels urges Mourinho to believe in Mkhitaryan|
|Ronaldinho ready to help Chapecoense|
|United can still finish top four - Guardiola|
|Bale´s ankle ´feeling better every day´|
|Sarri: Napoli in Lisbon to win|
|Watford and West Brom hit with FA charge|
|Karanka delighted with Boro´s game management|
|Middlesbrough 1 Hull City 0: Ramirez sinks sorry Tigers|
|Can Arsenal break the Basel curse? The Champions League in Opta Numbers|
|Everton confirm serious knee injury for Bolasie|
|Stam set for Old Trafford reunion in FA Cup third round|
|Sanchez, Ozil contract talks not just about money - Wenger|
|It is normal my son says I´ll coach Inter, I will - Simeone|
|Chapecoense confirmed as Copa Sudamericana champions|
|Sullivan backs Bilic to reverse Hammers´ fortunes|
|It was close...very close - Hummels reveals level of Man United interest|
|What You Might Have Missed: An FA Cup comeback of all comebacks and Monaco can´t stop scoring|
|Preston fans to be refunded from Beckford, Doyle fight fines|
|In-demand Lindelof ´happy to stay at Benfica´|
|FA charges City and Chelsea for late fracas|
|Darmstadt sack coach and sporting director after dismal run|
|Anyone who says they would not sign Messi is a liar! - Caballero|
|Roberto warns Madrid: Barcelona will cut the gap|
|Emery: Champions League top spot was always PSG´s priority|
|Guardiola brands Sanchez transfer rumours as lies|
|Boateng ruled out of Bayern´s clash with Atletico|
|FA confirms four-game ban for Aguero|
|Blatter FIFA ban remains after CAS dismisses appeal|
|Luis Enrique: I don´t give a damn about beating Gladbach|
|Emre hits out at Allardyce´s style... and slams his chewing gum|
|Bravo the world´s best goalkeeper, says Pellegrini|
|Ibrahimovic: I know how to kick someone and make him fall asleep|
|Barcelona and Real Madrid would not win 5-0 in Ligue 1 - Verratti|
|Seedorf out, Eriksson in at second-tier Chinese club|
|Tevez to China? Shanghai Shenhua claim ´breakthrough´ in talks|
|´English football is not more pure´ – Pochettino will not slam Alli for ´dive´|
|Gudjohnsen offers his services to Chapecoense|
|Savicevic: Champions League qualification paramount for Milan|
|Wenger: West Ham could take two years to settle|
|River Plate play in green as tribute to Chapecoense|
|Roberto Carlos open to coaching in A-League|
|Wenger confident there is more to come from Arsenal|
|Kane wants to see out career at Tottenham|
|Aguero challenge labelled ´crazy´ by disappointed Cahill|
|Mourinho ´has nothing to hide´ over tax affairs|
|Guardiola happy despite City setback|
|Ibrahimovic: I tried to avoid Coleman|
|Pogba hits out at ´distorted´ holiday claim|
|Nice 3 Toulouse 0: Plea strikes again as hosts go top|
|In-demand Belotti extends Torino stay|
|Mourinho defends decision to bring on Fellaini|
|Man Utd performances much better under me, says Mourinho|
|Draw the least Everton deserved against Manchester United, says Koeman|
|Mourinho fumes at media double standards|
|Mourinho has ´no thoughts´ on Fellaini penalty incident|
|Neville unimpressed by ´idiotic´ Fellaini|
|Manchester United are the Premier League´s worst team for dropping points with late goals|
|Manchester United mocked after Fellaini congratulations|
|´We have to put it right´ - Jones frustrated as United lose another late lead|
|Lulic sparks racism storm with Rudiger insult|
|Everton 1 Manchester United 1: Late Baines penalty denies Mourinho|
|Eto´o prefers Iniesta to Ronaldo and Messi: He deserves four Ballons d´Or|
|Liverpool join unfortunate group after Bournemouth collapse|
|Strootman praises Roma´s mental strength after derby win|
|Comeback win over Liverpool a special day for Bournemouth - Howe|
|Liverpool stopped playing football in Bournemouth collapse - Klopp|
|Lazio 0 Roma 2: Strootman and Nainggolan continue Giallorossi dominance|
|Bournemouth hero Ake hails incredible comeback win over Liverpool|
|Montella hails Lapadula´s ´fairytale´ rise to AC Milan stardom|
|Beautiful football is Guardiola´s Bayern legacy - Rummenigge|
|Bournemouth 4 Liverpool 3: Stunning comeback leaves Klopp´s men reeling|
|Lopes set for several weeks of treatment on ´sound trauma´|
|Lapadula: This is just the start of my Milan journey|
|AC Milan 2 Crotone 1: Lapadula winner spares Niang´s blushes|
|Torres fit for Bayern Munich clash|
|Dortmund´s Sahin fears eased|
|Eto´o: Guardiola still the best coach in the world|
|Carvajal apologises for swearing at Barcelona fans|
|MP calls for examination of Mourinho tax avoidance allegations|
|A-League Review: Sydney go six points clear at top as Adelaide clinch first win|
|Referee sorry amid fall-out from Werner dive controversy|
|Pique taking inspiration from 2014-15 turnaround|
|Aulas: Lyon should be awarded win after Metz clash is abandoned|
|Emery: PSG must learn from defeat|
|Marotta: Best to laugh at Pogba comments|
|Mourinho: I´m bringing back Manchester United DNA|
|De Boer: Nobody in charge at Inter|
|Chapecoense to be named Copa Sudamericana champions - Tozzo|
|Bilic: We are in a relegation fight|
|Aubameyang: I don´t know if I´ll be at Dortmund next season|
|Goals will return for Higuain, says Allegri|
|Southgate hopes to convince Zaha to play for England|
|Simeone will go to Inter, says son Giovanni|
|Watford fan dies after falling ill during West Brom clash|