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'
|Kruse a target for Wolfsburg - Allofs|
|Fletcher backing Bournemouth to ´surprise a few´|
|Bremen agree deal with Fritz|
|Carver gets Newcastle backing|
|Blaszczykowski suffers groin tear|
|Boateng warns of Barca ´storm´|
|Brouwers agrees Gladbach extension|
|Benzema to miss Turin trip|
|England great Jimmy Greaves suffers stroke|
|Cabaye concerned by bit-part role at PSG|
|Parry: Anfield expansion a major boost|
|Ki targets Arsenal win and seventh spot|
|Pirlo eyes potential Champions League swansong|
|Mourinho rounds on critics after clinching title|
|Henderson: Liverpool can push on without Gerrard|
|Lack of goals a concern for Van Gaal|
|Hard to keep Benteke - Bacuna|
|MLS Review: Sporting KC end Chicago streak, Martins brace furthers NYC pain|
|Copa Libertadores Preview: River eye revenge in Superclasico|
|Garcia lauds ´impressive´ Roma|
|Pavon goal scores him a BMW for a month|
|Boca beat River in Superclasico|
|Inzaghi to blood youth after third straight Milan defeat|
|Blanc urges PSG to ´remain vigilant´|
|La Liga Review: Valencia go clear of Sevilla, crisis-stricken Elche safe|
|CAF Champions League Review: ES Tunis dumped out by Al Merreikh|
|Masterful Mourinho has Premier League and Chelsea singing his tune|
|Nantes 0 Paris Saint-Germain 2: Cavani nets again as Ibrahimovic returns|
|Napoli 3 Milan 0: Late treble saves hosts|
|Primeira Liga Review: Porto edge past strugglers Vitoria|
|Bundesliga Review: Hamburg claim last-gasp winner, Gladbach close in on Wolfsburg|
|Pochettino: Hart heroics the difference|
|Ligue 1 Review: Monaco remain on course for third, Lille cruise past Lens|
|Pellegrini silent over City future|
|Rome derby not on Lazio´s radar, says Pioli|
|Pardew laments penalty calls in Palace´s loss to champions|
|Serie A Review: Roma move back into second, Di Natale overtakes Baggio|
|Tottenham 0 Manchester City 1: Aguero heaps more misery on Spurs|
|Mourinho appears to take dig at old nemesis Guardiola|
|Mancini frustrated by resilient Chievo|
|Drogba coy over future after title triumph|
|Chelsea title win will not lead to domination - Mourinho|
|Inter 0 Chievo 0: More frustration for Mancini|
|Terry: I´ve proved Benitez wrong|
|BREAKING NEWS: Chelsea secure Premier League title|
|Chelsea 1 Crystal Palace 0: Title heads back to Stamford Bridge|
|League One Review: MK Dons promoted, as Orient, Notts County and Crawley go down|
|Dortmund striker Ramos set to miss Copa America|
|Williamson denies getting sent off on purpose|
|Eintracht Frankfurt´s Kittel suffers injury blow|
|Juventus v Real Madrid: Serie A kings set for Real test|
|United still control top-four destiny - Young|
|Record finish beyond Stoke - Hughes|
|Wellington Phoenix 0 Melbourne City 2: Surprise win sets up semi-final derby|
|Vidal already focused on Real|
|MLS Review: Revs hand Red Bulls first loss|
|AFC Champions League Preview: Wanderers facing elimination|
|Lyon stepped up despite pressure - Fournier|
|Gerrard anticipating emotional Anfield finale|
|´I´ve always wanted to score a free-kick past Neuer´ - Calhanoglu|
|Negredo: Pellegrini lost faith in me|
|Buffon had title doubts after Conte departure|
|Luis Enrique: I was worried during 8-0 win|
|Wilshere will return to his best - Wenger|
|Rodgers unconcerned by banner|
|Mourinho doesn´t want guard of honour|
|Deportivo La Coruna 1 Villarreal 1: Hosts come from behind|
|Juve canter to title success as Allegri wins over doubters|
|Primeira Liga Review: Benfica smash Gil Vicente, Sporting confirm top-three finish|
|Sassuolo 0 Palermo 0: Poor finishing results in goalless stalemate|
|Guardiola praises Bayern youngsters after Leverkusen defeat|
|Arabian Gulf League Review: Al Shabab secure continental football|
|Real focused on Juventus clash - Ancelotti|
|Bundesliga Review: Champions lose at Leverkusen, Huntelaar ends goal drought|
|CAF Champions League Review: Al Ahly fall short again, Smouha eliminate AC Leopards|
|Decisions not to blame for Bilbao stalemate - Simeone|
|Bonucci hails Scudetto with a difference|
|Ligue 1 Review: Grenier on target in Lyon win|
|Hull City v Arsenal: Bruce inspired by ´remarkable´ Wenger|
|Pulis: We got the luck we needed at Old Trafford|
|Cordoba thrashing a boost ahead of Bayern - Luis Enrique|
|Sevilla 2 Real Madrid 3: Awesome Ronaldo nets hat-trick|
|Allegri reflects on turbulent journey to glory with Juve|
|Klopp: Dortmund suffered from fatigue at Hoffenheim|
|We knew West Brom would park the bus - Van Gaal|
|Ramsey knows QPR on the brink|
|Dyche ´amazed´ by Duff red in Burnley loss|
|Manchester United 0 West Brom 1: Van Persie misses penalty as Van Gaal loses again|
|Bayer Leverkusen 2 Bayern Munich 0: Distracted champions defeated|
|Koeman frustrated by Southampton performance|
|Rodgers hails ´unique´ Gerrard after Kop winner|
|Everton suffered from United win - Martinez|
|Sunderland safety in own hands - Advocaat|
|Atletico Madrid 0 Athletic Bilbao 0: Simeone´s men rue disallowed goals|
|Oliveira ankle injury to be assessed - Monk|
|Sampdoria 0 Juventus 1: Vidal steers Juve to fourth consecutive title|
|Delph the best midfielder in England - Sherwood|
|Duff red was harsh, says West Ham boss Allardyce|
|Stoke allowed game to ´drift away´ - Hughes|
|Monk delighted with second-half display|
|Scottish Premiership Review: Muirhead winner sees Celtic crowned champions|
|Gerrard: I changed my mind on penalty|
|League Two Review: Burton secure title, Bury sneak into third|
|Pearson: We´re not safe yet|
|Liverpool 2 QPR 1: Gerrard from agony to ecstasy to leave Rangers on the brink|
|Swansea City 2 Stoke City 0: Montero nets first goal|
|Cordoba 0 Barcelona 8: Suarez nets hat-trick as hosts are relegated|
|Williamson got sent off on purpose - Carver|
|Aston Villa 3 Everton 2: Benteke double moves Villa closer to safety|
|Sunderland 2 Southampton 1: Gomez on the spot to boost survival hopes|
|West Ham 1 Burnley 0: Duff sees red as visitors pay the penalty|
|Hoffenheim 1 Borussia Dortmund 1: Honours even for Euro hopefuls|
|Leicester City 3 Newcastle United 0: Ulloa brace sinks dismal visitors|
|Championship Review: Bournemouth snatch title, Brentford and Ipswich heading for the play-offs, Blac|
|Blackpool fans lead to final Championship game being abandoned|
|Bielsa urges Marseille fight|
|Top-four was United´s primary objective - Herrera|
|Rio Ferdinand´s wife dies following cancer battle|
|Mourinho to move on quickly from title success|
|MLS Review: Dallas dismantle Dynamo, Earthquakes held by RSL|
|Liverpool open contract talks with Jones|
|Rodgers: Sterling going nowhere|
|Burnley want Dyche stay - Mee|
|Pochettino: I have final say on transfers|
|Vitoria Guimaraes 2 Estoril 0: Valente double secures routine win|
|Gaya close to agreeing new deal|
|Van Gaal expects Di Maria to stay at Old Trafford|