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'
|Togo 1 DR Congo 3: Kabananga´s goal streak continues as Ibenge´s men top group|
|Morocco 1 Ivory Coast 0: Alioui stunner sends holders crashing out|
|Romeu earns Southampton extension as Puel targets away goal|
|Sunderland striker Anichebe out for up to 10 weeks|
|Elneny wants to be an Arsenal legend ´like Thierry Henry´|
|Corini leaves Palermo as Ballardini is tipped for fourth return|
|Hernandez leaves Leicester for Malaga|
|Lukas PodGOALski...Gala forward nets five amid J-League links|
|CAS rejects Serbian appeal against Kosovo UEFA membership|
|Thiago back in Bayern training as Arsenal showdown looms|
|Thiago back in Bayern training as Arsenal showdown looms|
|Shearer´s Toon Army ´trump´ the POTUS|
|Rooney´s record may stand forever - Ferguson|
|Carrick expects full-strength United as Wembley return beckons|
|They insulted his mother and then there were monkey noises - Cyprien on Bastia Balotelli abuse|
|No Chelsea regrets for Sampaoli as Sevilla mount title challenge|
|Egypt v Ghana: Cuper backs Elneny to deliver in crucial Group D clash|
|James adds to Zidane´s injury woes at Madrid|
|Zidane wants fans behind Madrid after latest Ronaldo whistles|
|Mason ´continues to make excellent progress´|
|Allegri slams ´stupidity´ surrounding Buffon referee hug|
|Niang in talks over AC Milan exit, confirms Montella|
|Sunderland sign Lescott|
|China-bound Ramos completes loan switch to Granada|
|Rahman to miss ´several months´|
|Leekens quits after Algeria´s AFCON exit|
|Jese has firm Premier League offer, claims Las Palmas president|
|´I´m blessed with golden genes´ - Adebayor insists he is ready for new Premier League chance|
|Messi renewal progressing ´very, very well´ - Robert|
|Neuer expects Clement success at Swansea|
|Klopp calls for Liverpool enjoyment|
|Mustafi talks up Arsenal belief|
|Van Basten still against offside, slams ´nonsense in the media´|
|Rakitic dreaming of career-long Barcelona stay|
|Toure inspired by Ibrahimovic as he explains Chinese Super League snub|
|Kasperczak committed to attacking approach as Tunisia reach AFCON quarters|
|Slimani wants Algeria youngsters to learn from AFCON humiliation|
|Senegal 2 Algeria 2: Slimani at the double as Desert Warriors bow out|
|Zimbabwe 2 Tunisia 4: First-half glut seals progression|
|Adrian: I always wanted to return to Villarreal|
|Togo v DR Congo: Agassa could miss crucial game after vandals hit home|
|Extended Southampton stay on the cards for Sims|
|Bayern hoping for speedy Vidal return|
|Hull sign Markovic on loan from Liverpool|
|Wenger charged with misconduct by FA|
|Deulofeu joins AC Milan - and this time the deal is definitely done!|
|Henderson still playing through pain, reveals Klopp|
|Record-breaking Rooney reveals secret to longevity|
|No ulterior motive behind Van Dijk captaincy call - Puel|
|Carroll ignoring want-away Payet|
|Gerrard´s managerial ambitions ´wonderful news for Liverpool´ - Klopp|
|PSG interested in Guedes, confirms Emery|
|Barca lose Busquets to sprained ankle|
|Pulisic commits to Dortmund until 2020|
|Mason speaking after suffering fractured skull|
|Aubameyang blames poor preparation for Gabon AFCON exit|
|David Beckham returns to PSG|
|Morocco v Ivory Coast: Holders must beat old boss Renard as group reaches thrilling conclusion|
|Djilobodji charged over Fletcher incident|
|Cahill and Terry visit Mason in hospital|
|Allardyce onto second-choice transfer targets|
|Dortmund sign teenager Isak|
|Madrid confirm Modric and Marcelo injury blows|
|Vidal fears longer lay-off, targets return against Arsenal|
|Yaya Toure: Sterling should have dived!|
|Turan wants to see out Barcelona contract despite China talk|
|Impassioned Ibrahimovic attacks Rooney´s critics|
|´He has to lose weight´ – Mihajlovic angry after dropping Maxi Lopez|
|Lack of Liverpool signings frustrates Klopp|
|Suarez: Busquets difficult to replace for Barca|
|Depay impresses Lyon after debut|
|CSL? Rooney committed to United|
|Denis Suarez wants more goals after opening Barca account|
|Simeone bemoans inconsistency but says Atletico are improving|
|Mourinho won´t stand in the way of Rooney and CSL|
|Dzeko on target as Roma stay on Juve´s tail|
|Rakitic ready to cover for injured Busquets|
|Bale and Kane wish Mason well after serious injury|
|Busquets injury less severe than feared - Luis Enrique|
|Mason in stable condition after skull fracture|
|Senegal v Algeria: Misfiring favourites in last-chance saloon|
|PSV provide perfect finish for darts champ Van Gerwen|
|Broos predicts ´something great´ for Cameroon|
|Eibar 0 Barcelona 4: MSN see Barca to victory after Busquets blow|
|Busquets sustains ankle ligament damage in Eibar v Barcelona|
|Cameroon 0 Gabon 0: Aubameyang miss haunts hosts as AFCON campaign ends|
|Guinea-Bissau 0 Burkina Faso 2: Traore on target as Stallions advance|
|Busquets injury at Eibar compounds Barcelona midfield woes|
|Deulofeu lands in Italy ahead of AC Milan move|
|´I made the best decision´ - Conte basks in Costa recall|
|Wenger urges Xhaka not to ´punish´ Arsenal|
|Ex-Bastia man Palmieri questions Balotelli racial abuse claims|
|Costa reaction hailed by Cahill|
|Manchester City must be mentally strong, says embattled Bravo|
|Chelsea 2 Hull City 0: Costa back with a bang for Blues|
|Koke lauds Griezmann ´stroke of genius´ as Atletico snatch draw|
|Pioli questions Ansaldi dismissal|
|´I should have shut up and I apologise´ - Wenger sorry for ref rant|
|Arsenal can be proud of this red-card record|
|Mustafi: Arsenal never give up|
|Higuain: Lazio posed no threat to Juventus|
|Athletic Bilbao 2 Atletico Madrid 2: Griezmann magic rescues point|
|Puel unsure Van Dijk will be fit for Liverpool clash|
|Free-scoring Monaco return to Ligue 1 summit|
|Arsenal 2 Burnley 1: Sanchez snatches thrilling win for 10-man Gunners|
|Palermo 0 Inter 1: Joao Mario strike extends Inter streak|
|Arsenal fans give Alexis Sanchez paws for thought|
|Costa returns to Chelsea XI to face Hull City|
|Inter cannot delude fans about Messi - Ausilio|
|Allegri admits new Juventus formation was a ´mad idea´|
|Leicester boss Ranieri admits to tactical mistakes|
|Zimbabwe v Tunisia: Kasperczek demands ruthlessness with quarter-final spot on the line|
|Southampton 3 Leicester City 0: Saints end losing streak but suffer potential Van Dijk blow|
|Juventus 2 Lazio 0: Dybala and Higuain strikes see leaders return to form|
|Iborra makes a mark at both ends as Sevilla scrape past Osasuna|
|Pogba hails ´brother´ Griezmann as Manchester United speculation continues|
|Costa fight rumour ´not nice´, says Courtois|
|Henry makes emotional Ozil plea: Stay and become an Arsenal legend|
|Welbeck still has huge promise, says Wenger|
|A-League Review: Wanderers finally end home hoodoo|
|Tevez denies he´s highest-paid player after CSL move|
|Napoli capable of greatness - Sarri|
|Montella proud of Milan display against Napoli|
|Ramos tells Madrid fans: We need support|
|Conte: Costa committed to Chelsea|
|Callejon credits ´Maradona effect´ as Napoli down AC Milan|