Sweden was eliiminated from the competition after being defeated 1 – 0 by Belgium in their final group game thanks to Radja Nainggolan late goal.
Erik Hamren’s side drew with Ireland and lost to Italy in their previous two games and needed a win to be assured of qualification.
Zlatan Ibrahimovic has meanwhile retired from international football after previously stating that he would quit after his country’s participation in the competition.
Italy meanwhile emerged as group E winners despite falling to a 1 – 0 defeat to the Republic of Ireland.
Robbie Brady scored a brilliant header to send the team to the last 16 of the tournament.
Belgium through in second place will Hungary on Sunday. Italy play Spain, Ireland play France, and Wales play Northern Ireland.
In other matches, England face Iceland while Croatia face Slovakia.