a brilliant acrobatic goal by zlatan ibrahimović and sebastian larsson's late strike ended france's long unbeaten run and left them to face spain.
a moment of brilliance from zlatan ibrahimović was the key to ensuring sweden bowed out of uefa euro 2012 with a victory that sent france into a quarter-final with spain as group d runners-up.
top of the section before the game but not quite through, france knew even a one-goal defeat would book their progress. the final margin was double that, ibrahimović's acrobatic goal and a late sebastian larsson clincher ending les bleus' 23-match unbeaten run and ensuring that, at the third time of asking in kyiv, sweden did not see a lead turn into a defeat. england's 1-0 win against ukraine therefore meant they overtook france, who meet the holders on saturday in donetsk, where they are based for these finals and played their previous two matches.
sweden could not improve on fourth place but with the majority of the support in the stands, they raced out of the blocks, ola toivonen – in for johan elmander up front – heading just wide and after some great kim källström skill, larsson making hugo lloris save. at the other end andreas isaksson did even better to deny franck ribéry from close range.
lloris was a relieved man soon after when toivonen shook off philippe mexès, raced into the box, rounded the goalkeeper, but found the angle too acute and hit the outside of the post. karim benzema then smashed a shot over but that early hectic pace was not maintained in the stifling evening heat and gradually the openings dried up. on his major tournament bow emir bajrami on the sweden flanks kept france on their toes, however, taking his chance in rasmus elm's enforced absence.
there was some excitement later in the half when benzema led a jinking break with ribéry, whose effort was deflected wide. perhaps that dropping of tempo was the reason christian wilhelmsson was sent on for bajrami at the break, the substitute immediately menacing the france defence.
benzema had the first clear chance of the second period, curling the ball wide, but lloris needed to produce a great save to deny larsson on 53 minutes. barely 60 seconds later the france goalkeeper had no chance, larsson crossing and ibrahimović superbly twisting his body for a flying volley from the edge of the area.
not long after the sweden captain set up wilhelmsson, so influential so quickly, but lloris stood firm and then tipped over from olof mellberg. florent malouda replaced hatem ben arfa and france rallied; yann m'vila, starting in place of injury doubt yohan cabaye, sent in a powerful strike that was well saved by isaksson.
a nasri cross so nearly found its way to mexès but mellberg slid in with perfect timing. jérémy ménez came on and a slight mis-hit allowed isaksson to block his first effort; from the resulting corner another substitute, olivier giroud, headed wide when unmarked. however sweden and their celebrating fans had the last word, substitute samuel holmén hitting the crossbar and larssson smashing in the rebound. france's advance was still never in doubt but mexès will miss their encounter with spain after receiving his second booking of these finals.