Robbie Brady scored a glorious late winner for Ireland to put it through to the knockout stages of the European Championship for the first time with a 1-0 win over Group E winner Italy. In the other match in the same group in Nice, a late goal by Radja Nainggolan earned Belgium a last-16 berth with a 1-0 win over Sweden ending superstar Zlatan Ibrahimovic's international career with a defeat. The Roma midfielder, reportedly wanted by Chelsea, controlled a cross from Eden Hazard outside the area and powered it into the net in the 82nd minute. Belgium now takes on Hungary in Toulouse. Brady scored his 85th minute headed goal from a pinpoint cross by his Norwich City clubmate Wes Hoolahan, who had just spurned a golden opportunity to seal the well-deserved victory himself. It delivered Irish football one of its most famous nights against a second-string Italy side, with the three points securing third place in the group and setting up a last-16 tie against host France in Lyon Sunday. With his team already guaranteed to top the group, Antonio Conte made eight changes, with only Leonardo Bonucci, Andrea Barzagli and Alessandro Florenzi surviving fron the side that started against Sweden. The Irish began like a team on a mission, full back Seamus Coleman thundering into a tackle in the opening seconds to lay down a marker, and plenty of tough challenges from both sides followed. Ireland almost took an early lead when Jeff Hendrick jinked to create some space at the edge of the box and hit a left-footed piledriver that flew just wide of the top corner. In the 21st minute, Daryl Murphy met Brady's outswinging corner with a powerful header, forcing Salvatore Sirigu to make a flying save and tip the ball over the bar for another corner. Italy had to wait until just before halftime for its first decent chance, Ciro Immobile dragging his shot just wide after a well-worked short free kick. Moments later the Irish were denied what looked a clear penalty when James McClean was pushed in the back by Federico Bernardeschi, but referee Ovidiu Hategan turned down their appeals, leaving coach Martin O'Neill incandescent with rage. Simone Zaza almost broke the deadlock on a rare Italian foray forward with a fizzing shot after the break, but then Ireland dominated almost the entire second half. With 13 minutes left and the Irish tiring, O'Neill threw on playmaker Hoolahan, who netted the goal in Ireland's 1-1 draw with Sweden, in a last-gasp effort to finally unlock the Italian defense. He missed a glorious chance to put his side ahead minutes later, shooting straight at Sirigu when he got through one-on-one and it looked as if Ireland was heading for elimination. Yet he made amends soon after, crossing for Brady to head Ireland into the lead and send the Irish fans into raptures. In Nice, there was to be no salvation for Sweden, nor one more game for Ibrahimovic. He battled to the end, almost snatching a late equalizer with a half volley on the turn, but the dying minutes were instead marked by the Belgian fans raucously chanting "Bye Bye Ibrahimovic!" "It's heavy, it's disappointing, but at the same time I enjoyed it, we got the possibility to play at the Euros, and represent Sweden," said Ibrahimovic. "At the same time I am proud, this was my last game in the national team, I have many fantastic memories." Sweden coach Erik Hamren said Ibrahimovic was a "unique" talent that cannot be replaced. "I hope we can find another player, not a Zlatan as I don't think in a small country like Sweden you can find someone like that, he's really unique," said Hamren. Sweden finished bottom of the group and will look back with regret on a flat performance in its opener against Ireland. Facing elimination if defeated, both teams pushed forward to attack which produced a pulsating first half hour in balmy Nice. Belgium launched regular raids with Kevin De Bruyne through the middle and Hazard, roving from wing to wing, at the heart of the danger. As the clock ran down in the second half the temperature began rising again as Belgium wasted a host of chances to kill of Swedish hopes. However, Nainggolan secured a richly-talented Belgian side's place on the favourable half of the draw with a rasping drive into the far corner.