NICE, France (AP) — Zlatan Ibrahimovic has played his last game for Sweden, a 1-0 loss to Belgium on Wednesday at the European Championship.

The Swedes were eliminated from the competition while Belgium advanced to the round of 16, where they will play Hungary on Sunday in Toulose.

Radja Nainggolan scored the winning goal for the Belgians, who finished second in Group E behind Italy. The Italians won the group despite losing to Ireland 1-0. The Irish also advanced as one of the best third-place teams.

Nainggalon scored the lone goal with powerful shot in the 84th minute from outside the penalty area, beating Sweden goalkeeper Andreas Isaksson.

In his 116th and last game for Sweden, Ibrahimovic forced a save from Belgium goalkeeper Thibaut Courtois in the 76th minute with a free kick and saw other shots go wide, including a volley in the 86th.

Ibrahimovic, one of the biggest stars at Euro 2016, did put the ball in the net shortly after the hour, but the whistle had already blown for a foul by Marcus Berg.

The tall Swede said Tuesday that he was retiring from international soccer after the tournament.

Needing a win to advance, Sweden also came close with an early shot from Berg, but failed to create enough quality opportunities. Shortly before the winning goal, a header from Andreas Granqvist was cleared off the line by Kevin de Bruyne.

Belgium, which needed to avoid losing, came closest to scoring another when Romelu Lukaku burst in behind the Swedish defense, but his low shot was stopped by Isaksson.

Another effort from Lukaku was ruled out for offside.

Copyright 2024 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox