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'
|UEFA Europa League Review: Feyenoord and Everton qualify in style|
|Martinez hails Everton perfection|
|Tottenham 1 Partizan 0: Stambouli settles it for Spurs|
|Inter 2 Dnipro 1: Osvaldo strikes as 10-man hosts earn hard-fought win|
|Tottenham-Partizan clash temporarily suspended due to pitch invasions|
|McKinlay named Moyes´ assistant|
|Poyet issues Chelsea challenge|
|Wolfsburg 0 Everton 2: Martinez´s men secure top spot|
|Lambert defends Bent loan move|
|Sunderland v Chelsea: Johnson eyes next major scalp|
|Riera released by Udinese|
|QPR v Leicester City: Pearson aiming to build on positives|
|Galatasaray and Anderlecht face disciplinary proceedings|
|Liverpool v Stoke City: Hughes plotting Anfield success|
|Vermaelen out for four to six months|
|Swansea City v Crystal Palace: Monk looking for positive response|
|Printant to remain Bastia head coach|
|Irvine knew nothing of Berahino drink-driving case|
|Pele admitted to special care unit|
|West Ham v Newcastle United: Allardyce pinpoints vital phase|
|Skripnik agrees three-year extension at Werder|
|Monk rubbishes talk of Michu return|
|FA charges Whelan over comments|
|Burnley v Aston Villa: Lambert laments list of absentees|
|Manchester United v Hull City: Bruce wary of in-form Rooney|
|Hughes hopeful over unwell trio|
|Grant named as Ghana coach|
|Bielsa expecting tough Nantes challenge|
|Basel charged by UEFA following pitch invasion|
|West Brom v Arsenal: Mertesacker refocusing attention after midweek win|
|Colaco banned by FIFA|
|Championship Preview: Derby head to happy hunting ground|
|Hertha Berlin v Bayern Munich: Hosts out to take advantage|
|Taylor injury ´not as bad as first feared´|
|Wilshere out for three months|
|Torosidis suffers calf strain|
|Malaga v Real Madrid: Ancelotti´s men in search of sweet 16|
|England climb FIFA rankings, Germany remain number one|
|Bolasie staying put - Warnock|
|Sewe Sport v Al Ahly: Ivorians eye more history|
|Schalke lose Matip with broken foot|
|Paris Saint-Germain v Nice: Ibrahimovic looks to end Ligue 1 goal drought|
|K. League Preview: Seoul, Steelers tussle for third|
|No complaints over FA charge for Allardyce|
|Redknapp ready for crucial run|
|Zapata targets regular first-team role at Milan|
|Fabregas revels in career-best form|
|Eriksen claims Tottenham struggling to ´connect´|
|MLS Preview: Schmid labels Galaxy ´physical´|
|Costa Rican Primera Division Review: Cartagines secure semi-finals berth|
|Serie A Preview: Roma out to stay in touch with Juve|
|The Strongest 1 Bolivar 1: Capdevila strike saves leaders|
|Sao Paulo 1 Atletico Nacional 0 (agg 1-1, 1-4 on penalties): Colombians reach final|
|Cruzeiro 0 Atletico Mineiro 1 (agg 0-3): Culpi´s men win first Copa do Brasil|
|Malmo´s Hareide furious with referee´s injustice|
|Dermendzhiev elated with Ludogorets display|
|Defour withdrawal stalled Anderlecht|
|Atletico achievement delights Simeone|
|Atletico did ´many´ things well - Michel|
|Raul Garcia promises no let-up from Atletico|
|Missed chances disappoint Rolfes|
|La Liga Preview: Real out to break club record at Malaga|
|Ancelotti praises defence after record-equalling win|
|Klopp: Arsenal deserved it|
|Peruvian Primera Division Review: Alianza Lima falter in Clausura race|
|Allegri targeting top spot after Malmo win|
|Rodgers pleased despite Ludogorets late show|
|Wenger rues Arteta injury|
|Ludogorets 2 Liverpool 2: More misery for Rodgers´ men|
|Malmo 0 Juventus 2: Tevez fires Allegri´s side closer to qualification|
|Anderlecht 2 Galatasaray 0: Mbemba secures third place for hosts|
|Bayer Leverkusen 0 Monaco 1: Ocampos strike stuns dominant hosts|
|Atletico Madrid 4 Olympiacos 0: Hat-trick hero Mandzukic books last-16 spot|
|Basel 0 Real Madrid 1: Ronaldo strike equals club record|
|Arsenal 2 Borussia Dortmund 0: Sanogo and Alexis seal progress|
|´We must believe´ – Villas-Boas wants Zenit progression|
|Bundesliga Preview: Schalke and Bayern out to bounce back from Euro setbacks|
|Jesus bemoans wasted Benfica chances|
|League Two Preview: Promotion rivals meet, leaders tackle basement club|
|Ligue 1 Preview: PSG and Marseille both fighting for top spot|
|Mitchell lands Tottenham role|
|Zenit 1 Benfica 0: Danny eliminates Portuguese champions|
|Deila concerned over Commons´ future|
|Everton quartet doubtful for Tottenham clash|
|Pochettino calls for extra rest|
|FA charges Everton and West Ham|
|Money not a factor for Van der Vaart|
|League One Preview: Bristol City out to stop the rot at Peterborough|
|Heldt: Chelsea hammering unacceptable|
|Mancini encouraged by Inter|
|Cheltenham appoint Buckle|
|Date set for Tonev appeal hearing|
|K. League Review: Steelers preserve advantage, Seongnam boost survival hopes|
|Moses out for several weeks|
|Drogba focused on claiming trophies|
|Bent makes Brighton switch|
|Kone included in Everton squad for Wolfsburg clash|
|Shaqiri can ´probably´ leave Bayern, says Beckenbauer|
|Ramsey backs under-fire Wenger|
|Fabregas clears the air with Ramos|
|Cavani urges Ligue 1 focus|
|Olsson out until new year|
|Sao Paulo´s Toloi confident ahead of second leg|
|Aguero our ´special player´, says Kompany|
|APOEL eye Europa League despite winless road streak|
|Silva disappointed by ´childish´ errors|
|Slutsky happy to keep ´intrigue´ alive|
|A-League Preview: Brisbane begin life after Mulvey|
|Eredivisie Preview: Ajax targeting improvement|
|Shakhtar did not lack motivation - Shevchuk|
|Bayern lament two errors, Guardiola proud|
|Valcke: It will ´take years´ to rebuild FIFA´s reputation|
|Luis Enrique ´never fed up´ of Messi magic|
|Valverde pleased with Bilbao triumph|
|Messi revels in Champions League milestone|
|Loss was a ´crying shame´ - De Boer|
|Suarez relieved to get off the mark for Barca|
|Pellegrini puts Aguero among best in the world|
|Cavani wants top spot|