Inter secured Champions League qualification in the most dramatic fashion as Luciano Spalletti's men came from behind to beat 10-man Lazio 3-2 on Serie A's final day.
Lazio only needed to avoid defeat in what was effectively a play-off at the Stadio Olimpico on Sunday, but they collapsed incredibly in the closing stages as captain Senad Lulic was dismissed.
Ivan Perisic's remarkable own-goal, an Adam Marusic shot deflecting in off the midfielder's face, gave Lazio the lead, but Danilo D'Ambrosio levelled with an acrobatic effort from close range.
Felipe Anderson's breakaway goal restored the lead and put Lazio in control at half-time, but the Nerazzurri somehow completed a stunning comeback with two goals in three minutes.
Referee Gianluca Rocchi had already changed his mind about one penalty for the visitors following a VAR review when he pointed to the spot after Stefan de Vrij - strongly rumoured to be joining Inter at the end of the season - hacked Mauco Icardi down in the box.
The Inter captain converted and, after Lulic was shown a second yellow card, Matias Vecino headed in Marcelo Brozovic's corner, Simone Inzaghi's men unable to muster a fightback of their own after the coach earlier made defensive changes to leave them fifth and devastated at the full-time whistle.
Icardi mishit an early chance and Antonio Candreva thudded a volley narrowly wide as Inter made a flying start.
Luiz Felipe should have opened the scoring, blazing over when picked out by a low left-wing Ciro Immobile cross, but Lazio led in the ninth minute in freakish circumstances.
Although Samir Handanovic denied rising star Sergej Milinkovic-Savic, Lazio kept the ball alive and when Marusic let fly the ball cannoned in off the face of the helpless Perisic.
Icardi missed a golden chance to level in the 22nd minute, dragging wide after Joao Cancelo's interception and throughball, Milinkovic-Savic denied by the woodwork from a superb free-kick at the other end moments later.
Inter's equaliser was no less dramatic than the opener, Thomas Strakosha keeping out D'Ambrosio's initial effort but unable to stop the full-back turning home the rebound, the goalkeeper's protests that he was fouled falling on deaf ears.
Lazio retook the lead in the 41st minute with a sensational break, Anderson rolling in a superb finish after he and captain Lulic countered at rapid pace to unlock Inter's defence.
Icardi was becoming influential but Anderson rippled the side-netting as Lazio again threatened on the counter, Spalletti's side growing increasingly desperate with their own attacks.
Rocchi awarded Inter a penalty in the 72nd minute after Milinkovic-Savic appeared to handle the ball in the box, but after consulting VAR the referee elected not to award the spot-kick, replays showing the ball hit Serbia international on the shoulder.
100 - Mauro Icardi scored tonight his 100th goal in Serie A for Inter, in 159 games played. Nerazzurro.— OptaPaolo (@OptaPaolo) May 20, 2018
But Rocchi had no choice but to point to the spot when Icardi was hacked down by De Vrij - the Lazio defender having confirmed he is leaving the club at the end of his contract.
The Inter skipper stepped up to slot in past Handanovic and set up a dramatic finale in the capital, Lulic seeing red after losing composure and needlessly bringing down Brozovic.
And when Brozovic floated a corner to the near post, Vecino met it with a glancing header to secure Inter's Champions League qualification at the expense of their heartbroken hosts, who saw substitute Patric sent from the touchline in the dying stages.
Key Opta stats:
- Inter have qualified for the next Champions League; it's the first time for the Nerazzurri since 2011-12.
- Inter have won last three away league games, as many as their previous 12.
- Lazio have picked up only two points in the last three league games, after they had won five of their previous six (1 draw).
- Danilo D'Ambrosio has scored nine of his 11 Serie A goals from corner situations.
|Zola returns to Chelsea as Sarri´s assistant|
|Anthony Joshua targets ´dream´ fight in Texas|
|Celtic 3 Alashkert 0 (6-0 agg): Dembele hits brace before injury worry|
|Schwartzman stumbles but Spanish duo reach last eight at Swedish Open|
|Top seeds progress in Bucharest as Larsson conquers Kung|
|Perez promises ´incredible´ signings at Real Madrid|
|Liverpool need a top goalkeeper - Souness|
|It was just an absolute car crash - Root regrets bat-drop celebration|
|Mourinho´s pre-season fears mount with Sanchez sidelined|
|Alisson thanks Roma fans ahead of rumoured Liverpool switch|
|Pogba must understand his World Cup heroics, says Mourinho|
|Odriozola excited by Lopetegui reunion at Real Madrid|
|Revis announces retirement from NFL after 11 seasons|
|The Open 2018 diary: Rahm´s saving Grace, Rory´s going grey|
|Kawhi Leonard traded to Raptors as DeMar DeRozan heads to Spurs|
|Cantona, Rosberg and other surprise retirements after Warburton hangs up his boots|
|No doubting Thomas as he climbs into yellow with stage win|
|Liverpool´s Oxlade-Chamberlain to miss ´vast majority´ of 2018-19|
|Open Championship by far the greatest - Player|
|Sarri wants new central midfielder and hints at Chelsea stay for Cahill|
|Nantes sign former Manchester United full-back Fabio|
|Marcelino rewarded with one-year Valencia extension|
|Warburton retires: Bale leads social media tributes to Welsh great|
|Mistakes do not define me, says Chelsea boss Sarri|
|Saints and Tigers to honour Horne with Twickenham clash|
|I want to keep Hazard, says Sarri|
|Europe must stop American juggernaut at Carnoustie|
|Joshua planning for heavyweight ´legacy´ – starting with Povetkin|
|Warburton retires: Wales and Lions star´s career in numbers|
|Matching ´ridiculous´ Tiger not on McIlroy´s radar|
|Spain sent me World Cup SOS, claims Benitez|
|Ozil, Gundogan critics should ´shut up´ - Klopp|
|McIlroy plans to play carefree at Carnoustie|
|Pakistan thrash Zimbabwe to secure series win|
|Warburton retires: Gatland salutes Wales and Lions great|
|Sturridge determined to stay at Liverpool|
|Mbappe is an alien – Varane|
|Warburton retires from rugby|
|India to assess Bhuvneshwar as Bumrah makes Test squad|
|Injured Craddock passes $100,000 in donations at Tour de France|
|WATCH: Perez taunts team-mate after audacious training goal|
|Alison Becker tweets ´I´m joining Liverpool´... but all is not as it seems|
|F1 Raceweek: Hamilton chasing down Schumacher - German GP in numbers|
|Notorious Carnoustie holds fond memories for legendary Watson|
|Rooney refused to be ´dead weight´ at Everton|
|The Open 2018: Molinari, Rahm and the in-form contenders at Carnoustie|
|Marsh interested in Australia leadership roles|
|United can challenge City for Premier League title, says Rooney|
|MLB All-Star 2018: Seven things you missed at Midsummer Classic|
|American League win home run-filled MLB All-Star game|
|Dragons lure Sims from Broncos|
|Cassano: Ronaldo like Nadal, Messi like Federer|
|Lakers´ Ball undergoes successful knee surgery|
|´We kill them, Messi or no Messi´ - Pogba´s pre-Argentina World Cup speech revealed|
|Cardinals suspend GM Keim for five weeks after DUI|
|Dalic: I can coach Brazil or Barca but Croatia my favourite|
|Warriors coach Kerr extends contract|
|I´m ready to bust him up - Miller calls out Joshua after New York confrontation|
|CAF Champions League Review: ES Tunis and TP Mazembe set the pace|
|Mixed day for seeds in Newport as Muller progresses|
|Rams sign Cooks to five-year extension|
|Cowboys’ Randy Gregory reinstated by NFL|
|Verdasco survives Swedish Open scare as Paire is picked off in Umag|
|US Open announces record prize fund for 2018|
|Stosur wins battle of former grand slam champions in Gstaad|
|Emery is Arsenal´s best signing, says Pires|
|Brewster commits to Liverpool with long-term deal|
|Panama boss Gomez steps down after World Cup|
|No Chelsea agreement for Golovin, claims CSKA president|
|Root looks right at home as England ease to series victory|