Holders Spain needed extra-time to see off Italy 3-2 and book a place against the hosts in the final of the FIFA Futsal World Cup Brazil 2008.
The Spaniards began the game in Rio on Thursday slowly, keeping their shape and not committing much to attack. But after five minutes Fernandao broke through the Italian defence and laid the ball on for Daniel, who made no mistake poking past the Italian goalkeeper to open the scoring.
The Spaniards continued to keep control of the contest and limit the Italian attacks. Still, Grana snuck through in the 12th minute and forced Luis Amado into a fine save. Edgar Bertoni was unable to knock home the rebound.
The second half saw Spain keep up the possession and try to control the pace of the game. But in the 27th minute, the Italians finally found a way through their stodgy rearguard. Adriano Foglia outfoxed three Spanish defenders and slammed home a stunning goal.
The Italians then began to pile on the pressure, with Foglia, Saad Assis and Sandro Zanetti all going close to grabbing a lead. However, the game was destined for extra-time.
Fernandao scored in the last minute of the first period of extra time to put Spain in front, But Grana drew level for the Italians after the side decided to throw all caution to the wind (2-2). But their cavalier spirit was not rewarded, as Spain pulled an ugly winner when a shot against the post bounced off poor Foglia - who was a delight throughout these finals - and into his own goal to give the Iberians a 3-2 win.
Spain will now meet Brazil in a classic futsal final on 19 October in Rio.