Spain salvaged a modicum of pride from their woeful FIFA World Cup defence by beating Australia 3-0 in Curitiba on Monday.
Vicente del Bosque's men headed into their final group fixture knowing they could no longer reach the knockout stages following defeats to the Netherlands and Chile.
However, goals from David Villa, on his last international appearance, Fernando Torres and substitute Juan Mata ensured Spain at least signed off from the competition with victory, and avoided finishing bottom of Group B.
Spain's famous tiki-taka style has been derided in some quarters following their elimination, while there is also doubt over the future of Del Bosque.
The defending champions were far from their fluent best on this occasion, but still did enough to earn an ultimately comfortable win.
After a slow opening, Spain turned up the tempo and Villa broke the deadlock nine minutes before the break with an improvised flick from close range, giving Australian fans a timely reminder of his talent ahead of his upcoming loan spell in the A-League with Melbourne City.
The impressive Andres Iniesta, collecting his 100th cap, then set up Torres for a second in the 69th minute, before Mata - Villa's replacement - rounded off the scoring late on.
Spain will still leave Brazil knowing they have much to ponder, while Australia can move forward with optimism after drawing plaudits for their plucky performances throughout the tournament.
Villa, Torres and goalkeeper Pepe Reina were handed starts as Spain made a raft of changes, with the much-maligned Iker Casillas and Diego Costa among those dropping to the bench.
Australia showed more attacking vibrancy during a tepid opening, yet it was Spain who fashioned the first chance of note in the 20th minute.
Iniesta worked space on the right and showed great vision to pick out Villa at the back post, only for the forward to lash his volley wide.
Spain began to up the ante thereafter and Iniesta's clever backheel sent Jordi Alba free, but the full-back shot straight at Mat Ryan.
The lively Villa then showed neat trickery to bamboozle Mile Jedinak and fired a teasing cross along the six-yard box that neither Koke nor Torres could connect with.
However, Australia's resistance was broken in the 36th minute.
Iniesta's probing throughball caught Jason Davidson flat-footed and Juanfran got to the right byline before pulling back for Villa, who provided an ingenious close-range flick from behind his standing leg.
Spain struggled to rediscover a high tempo after the break, with several misplaced passes curtailing promising attacks.
The biggest round of applause for the second half was reserved for Villa, who was replaced by Mata shortly before the hour mark, the 32-year-old shaking his head as he emotionally exited the pitch before burying his head in his hands on the substitutes bench.
Spain's control of possession provided a second with just under 20 minutes remaining.
Iniesta was once again the architect with a defence-splitting pass that Torres collected on the left of the box before calmly slotting right-footed into the far corner.
Further gloss was added to the scoreline in the closing stages when substitute Cesc Fabregas picked out Mata in the penalty area, and the Manchester United man slipped the ball under goalkeeper Ryan.
|Coach: A. Postecoglou|
for A. Taggart 46'
for T. Oar 61'
for O. Bozanić 72'
|Zenit v Benfica: Pereira, Lima set to return for Portuguese champions|
|Inzaghi sorry for derby stalemate|
|Colombian Primera A Review: Medellin on cusp of final, Santa Fe deny Huila|
|Mancini ´very happy´ with derby draw|
|Peruvian Primera Division Review: Sporting Cristal beaten|
|Liga del Futbol Profesional Boliviano Review: Late Blooming spark sends Oriente second|
|Venezuelan Primera Division Review: Trujillanos stay top, Metropolitanos embarrassed|
|Liga MX Review: Pachuca, Pumas UNAM reach play-offs|
|MLS Review: Wins for Galaxy, Revolution|
|Ecuadorian Primera A Review: Top three fail to score, Olmedo win big|
|Brazilian Serie A Review: Cruzeiro retain title|
|Chilean Primera Division Review: Universidad Chile held, Colo Colo go top|
|Costa Rican Primera Division Review: Cartagines into fourth|
|Uruguayan Primera Division Review: Champions Nacional win again|
|Ligue 1 Review: Marseille come from behind, Nantes extend unbeaten run|
|La Liga Review: Valencia suffer derby defeat, Rayo Vallecano beat Celta Vigo|
|Serie A Review: Mancini´s Inter rescue derby draw|
|Milan 1 Inter 1: Draw for Mancini on return|
|Pochettino wants home comforts|
|Bundesliga Review: Hamburg secure derby win, Stuttgart beaten again|
|Bruce disappointed with Vertonghen reaction|
|Eriksen backing Tottenham to kick on|
|Hull City 1 Tottenham 2: Eriksen snatches late winner after Ramirez sees red|
|Eredivisie Review: De Leeuw denies leaders PSV, Heracles secure timely win|
|Rodgers takes responsibility for Liverpool slump|
|Falcao ready for United return|
|Warnock basks in Palace display|
|Fabregas calls for ruthlessness|
|Crystal Palace 3 Liverpool 1: Rodgers´ men stumble at Palace again|
|Partick Thistle 0 Aberdeen 1: Rooney spot on for visitors|
|Reus blow for Dortmund|
|Mulvey leaves Roar post|
|Shakhtar Donetsk v Athletic Bilbao: Bernard eyes fast start|
|Forster urges Southampton to build|
|Sporting v Maribor: Montero out to continue hot streak|
|Schalke v Chelsea: Chance of revenge for Di Matteo|
|Manchester City v Bayern Munich: Pellegrini putting pressure on himself|
|Mourinho guards against Chelsea complacency|
|Rodriguez urges Real focus|
|Paris Saint-Germain v Ajax: Dutch outfit quietly confident|
|APOEL v Barcelona: Xavi seeks further improvement|
|Gotze basks in Bayern form|
|Tevez wants domestic form replicated in Europe|
|Mixed news on Naismith for Everton|
|Central Coast Mariners 0 Adelaide United 2: Sanchez nets brace for visitors|
|Can full of praise for Gerrard|
|BATE v Porto: Visitors eye top spot|
|CSKA Moscow v Roma: Italians eye qualification|
|Simeone lauds Atletico display|
|Messi the best ever - Luis Enrique|
|Eredivisie Review: Feyenoord make Peersman pay, Ajax beat Heerenveen|
|La Liga Review: Real Madrid, Barcelona win big|
|Allegri lauds Pogba performance|
|Messi pays homage after record-breaking day|
|Messi the record breaker|
|Serie A Review: Top two both victorious|
|Taylor hints that knee injury not as bad as first feared|
|Ligue 1 Review: Lyon stumble against Bastia|
|Van Gaal critical of United despite win|
|Lazio 0 Juventus 3: Pogba and Tevez star as champions dominate|
|Wenger frustrated by wasteful Arsenal defeat|
|Barcelona 5 Sevilla 1: Messi breaks La Liga record as Barca cruise|
|Garcia delighted with Ljajic display|
|League One Review: Swindon close the gap at the top, Yeovil off the bottom|
|Messi breaks La Liga goal record|
|Ancelotti: Isco a ´perfect´ Modric replacement|
|Bundesliga Review: Wolfsburg slip helps move Bayern well clear|
|Rooney revels in success of counter-attack ploy|
|Tiago: Malaga scalp proves we´re great|
|Arsenal 1 Manchester United 2: Rooney seals Van Gaal´s maiden away win|
|Reus injury angers Klopp|
|Schweinsteiger pays tribute to Bayern fans|
|Pellegrini salutes Toure´s attitude|
|Hughes laments Stoke´s slow start|
|Allardyce frustrated after Everton defeat|
|We deserved more - Redknapp|
|Irvine: Yacob can have no complaints|
|League Two Review: Luton run ended by Burton, Wycombe go top|
|Eibar 0 Real Madrid 4: Relentless Real win again|
|Poyet defends Cattermole over Cambiasso tackle|
|Dyche hails Burnley resolve|
|Martinez hails ´satisfying´ Everton triumph|
|Pearson sure of Leicester survival|
|Gomis earns Monk forgiveness for late miss|
|Pardew full of praise for Sissoko|
|Mourinho lauds ´beautiful´ Chelsea display|
|Scottish Premiership Review: Guidetti strikes again for Celtic, top four all win|
|Championship Review: Bamford denies Mackay´s Wigan, Derby extend lead|
|Aston Villa v Southampton: Koeman eyes international swagger|
|Newcastle United 1 QPR 0: Skipper Sissoko seals fifth straight win|
|Leicester City 0 Sunderland 0: Hosts´ goal drought continues|
|Stoke City 1 Burnley 2: Ings at the double as visitors hold on|
|Atletico Madrid 3 Malaga 1: Unconvincing champions halt in-form visitors|
|Everton 2 West Ham 1: Osman celebrates landmark with winner|
|Manchester City 2 Swansea 1: Toure seals comeback win for champions|
|Chelsea 2 West Brom 0: Yacob sees red as leaders march on|
|Paderborn 2 Borussia Dortmund 2: Reus injury leads to Dortmund capitulation|
|Bayern Munich 4 Hoffenheim 0: Champions move seven clear|
|Bielsa not concerned by Marseille investigation|
|Mancini buoyed by Inter preparations|
|Benitez rules out Liverpool return|
|Hertha prepared for Kalou absence|
|Montella confident despite Fiorentina pressures|
|Injured Alex out of Milan derby|
|Pochettino wants versatility from Dier|
|Van Gaal will not take risks with Falcao fitness|
|A-League Review: Sydney keep pressure on at top|
|K. League Review: Sangju Sangmu all but down, Gyeongnam remain in danger|
|J.League Review: Gamba deny title-chasing Urawa, Ventforet ensure safety|
|Rabiot thrilled with PSG return|
|Sterling wants long Liverpool stay|
|Poyet: I thought Cattermole would ´shoot´ me|
|Simeone: Cerci interest compliments Atletico|
|Blanc: ´I was confident´ of PSG win|
|Silva sidelined for crucial City-Bayern clash|
|Lambert would ´love´ to keep Vlaar, slams agent|