France qualified for the knockout stages of a major finals for the first time in six years on Tuesday despite losing their final Group D match 2-0 to already eliminated Sweden.
A brilliant bicycle kick by Sweden's inspirational captain Zlatan Ibrahimovic in the 54th minute gave them the lead with the outstanding Sebastian Larsson adding a second in the final minute of normal time.
It handed the Swedes not only their first points of the group stage but also their first win over France in almost 43 years dating back to October 1969.
The French, who also saw their 23-match unbeaten run ended, progress in second place in the group after England beat co-hosts Ukraine 1-0 in the other game to finish top.
France - who last reached the knockout stages of a major finals in the 2006 World Cup - will play champions Spain in the last eight.
The Swedes should have gone ahead in the eighth minute as Ola Toivonen - who had replaced the injured Johan Elmander up front - was played onside and with only Hugo Lloris to beat. However, although he rounded the goalkeeper he found the angle too tight and his shot hit the post.
The French pressed from the start of the second-half with Karim Benzema finding some space and curling the ball just past the far post.
However, instead of sparking the French into some urgency it prompted the Swedes into their best period of play with Lloris pulling off one fine save in the 53rd minute.
A minute later he was unable to do anything about Ibrahimovic's stunning bicycle kick from Larsson's superb cross -- Ibrahimovic in typical celebratory style standing stock still and raising his hands pointing a finger of each hand at the sky.
France were wilting in the heat of the night and would have been 2-0 down minutes later but Olof Mellberg's header was tipped over the bar in extremis by Lloris.
Another of the Swedish veterans Christian Wilhelmsson - like Mellberg expected to retire from international football after this match - then went close himself but his shot too was turned away for a corner.
The French were defending with increasing desperation and it was no surprise that central defender Philippe Mexes picked up a booking for an overly physical challenge that rules him out of the quarter-final.
The Swedes pace slowed, though, and France began to have the lions share of possession which almsot bore fruit when Yann M'Vila - who had earned his first start of the tournament having recovered from an ankle injury - switched neatly from his left to right foot and fired a fierce shot just wide of the target.
Blanc decided to send on Jeremy Menez, one of the goalscorers from the 2-0 win over Ukraine, and it almost paid off as he managed to break free in the box - but his effort was bundled away for a corner.
Fellow substitute Oliver Giroud should have done better from the corner as he rose unmarked but his header went over the bar - and instead it was to be the Swedes who deservedly wrapped up victory through Larsson.