Innocent Emeghara scored a dramatic late equaliser as relegation-threatened Livorno came from two goals down to claim a 2-2 draw with Inter.
Inter appeared to be in complete command after taking a commanding 2-0 lead at the Stadio Armando Picchi on Monday, but Livorno stormed back with Emeghara the hero as he found the net five minutes from time.
Hernanes gave Walter Mazzarri's visitors the lead with his first goal for the club since joining from Serie A rivals Lazio in January.
Argentine striker Rodrigo Palacio then seemingly put the game beyond doubt shortly before the interval, only for Paulinho to start the fightback for Livorno.
Livorno's top scorer struck with his 12th league goal of the campaign early in the second half, and there was to be a final twist in the tale as Emeghara capitalised on an error from Inter midfielder Fredy Guarin to earn a draw that moves them to within a point of safety.
Inter, meanwhile, remain fifth.
Both sides struggled to create opportunities early on, although Inter goalkeeper Samir Handanovic was forced to tip Emerson's cross-cum shot free-kick over the crossbar after 15 minutes.
Inter were frustrated for much of the first half despite controlling possession, but Hernanes went close to opening the scoring for the visitors when he curled narrowly wide from the edge of the area.
And the Brazilian playmaker did then break the deadlock in the 37th minute, slamming home from close range after Mauro Icardi had failed to make contact with a header back across goal from Palacio.
That goal appeared to boost Inter's confidence and only the fingertips of Livorno keeper Francesco Bardi prevented them from doubling their advantage as he turned a fierce long-range strike from Zdravko Kuzmanovic over the bar.
However, Bardi could do nothing as Mazzarri's side did extend their lead in first-half injury time, Palacio meeting Jonathan's right-wing cross with a clever half-volley into the bottom corner.
Inter carried that momentum into the second period and almost immediately added a third following the restart as Palacio forced Bardi into another fine save.
But the hosts got back into the game after 53 minutes when Paulinho rattled an effort in off the crossbar from Leandro Greco's well executed corner.
Former Siena striker Emeghara was thrown on in place of Ishak Belfodil - on loan from Inter - shortly after as Livorno pressed for a share of the spoils.
And the Switzerland international made no mistake late on as he raced on to a poor backpass from Guarin to slot past Handanovic and make it an unhappy return to his former club for Mazzarri.
|Coach: D. Di Carlo|
for I. Belfodil 55'
for Emerson 55'
for L. Greco 73'
|Sutton United 0 Arsenal 2: Perez and Walcott break minnows´ stern resolve|
|Walcott brings up 100 goals for Arsenal|
|Simeone will make late Oblak call for Leverkusen clash|
|AFC Champions League Review: In-form El Arabi gives Lekhwiya dream start, Diop saves Al Ahli|
|Fabinho disagrees with Guardiola over favourites tag|
|Guardiola hails Bielsa as best in the world|
|Jardim insists Monaco will not change style for Manchester City clash|
|Clattenburg´s Premier League career not over yet|
|Dortmund could renew Tuchel deal|
|Chicharito return to form boosts Schmidt´s Leverkusen for Atletico test|
|Iniesta sees Verratti as his successor - Matuidi|
|Ramos did not make history at Sevilla like me - Alves questions Real Madrid captain|
|Vertonghen feels Tottenham deserve silverware|
|Agent denies Lucas Perez exit claims|
|Barcelona forward Neymar to stand trial after losing appeal|
|City history can´t compare to United, Liverpool – De Bruyne wants to make Champions League impressio|
|Europa League the priority for United´s Mata as EFL Cup final looms|
|Winning the FA Cup ´may not save Wenger´|
|Falcao perfect for ´killers´ Monaco - Guardiola wary of Champions League threat to Manchester City|
|Ancelotti asked to explain middle finger gesture|
|Ribery closing in on Bayern Munich return|
|Nani eager for improving Valencia to tackle Real Madrid|
|Rashford eyes Chelsea revenge after huge FA Cup draw|
|Glorious Griezmann and Aguero´s knockout drought - Champions League in Opta numbers|
|Otamendi´s agent talks up Real Madrid switch|
|He has to get used to it – Montella reacts to Bacca boos|
|Low hopes to discover Germany´s Luis Suarez|
|Mourinho unsure if Rooney will recover for EFL Cup final|
|Rami rejects talk of Marseille switch|
|Tarnat tips Manchester City´s Sane to become Germany star|
|I don´t see why he should quit - Begovic tips Terry to continue|
|PSG ´weakened´ without Ibrahimovic, claims Monaco´s Bakayoko|
|Low believes in ´locksmith´ Gotze|
|No pain, no gain for Cristiano Ronaldo|
|Barcelona have no idea how to treat players - Dani Alves slams Camp Nou board|
|Low: Germany´s youngsters must be good enough to beat Messi and Ronaldo|
|Mandorlini replaces Juric at Genoa|
|Liverpool could face ´new´ Leicester – Klopp|
|Corchia excited by Bielsa arrival but Lille future remains uncertain|
|Wenger: I threw up after first loss as coach|
|Conte wants fairytale finish for Terry|
|Iniesta: Barcelona haven´t lost faith in Luis Enrique|
|Mourinho knew Ibrahimovic would be ´massive´ for United|
|Ter Stegen doesn´t understand Barcelona fans whistling|
|´He is doing a fantastic job´ – Bartomeu backs Luis Enrique|
|Guardiola slams ´unacceptable´ Wenger treatment|
|Spalletti: Roma goal machine Dzeko now believes he´s world class|
|Emery refuses to blame referee after PSG are held|
|Montella dedicates AC Milan win to Berlusconi|
|The players don´t need whistles – Luis Enrique hits out at fans|
|Brazilian game called off due to TV dispute|
|Chelsea are already Premier League champions, says United boss Mourinho|
|Barcelona 2 Leganes 1: Late Messi penalty spares Ter Stegen´s blushes|
|Paris Saint-Germain 0 Toulouse 0: Champions spill valuable points|
|AC Milan 2 Fiorentina 1: Deulofeu strike keeps European hopes alive|
|Attitude got Man United through - Mourinho|
|Roma 4 Torino 1: Dzeko strikes again|
|Lincoln face Sutton or Arsenal in FA Cup quarter-finals, Chelsea host Man United|
|Neuer slams Jarstein after brawl|
|Blackburn Rovers 1 Manchester United 2: Substitutes Pogba and Ibrahimovic combine for late winner|
|Inter insist Perisic going nowhere, rule out move for Verratti|
|Borussia Monchengladbach 1 RB Leipzig 2: Forsberg and Werner reignite title bid|
|Training-ground meetings paid dividends - Pochettino|
|I´m trying to find a team - Berbatov open to offers|
|Inspired by Zeman´s return, Pescara hammer Genoa 5-0|
|Gabigol wants to make history after Inter breakthrough|
|Chievo 1 Napoli 3: Sarri´s men bounce back from Champions League disappoitment|
|Alfonso Perez calls for Pique to quit international football over political beliefs|
|Benatia refuses to question Allegri´s decisions|
|Fulham 0 Tottenham 3: Kane hat-trick fires Spurs into quarter-finals|
|Oblak return boosts Atletico ahead of Leverkusen trip|
|Gabigol and Inter ready to feast on success after late winner|
|Bologna 0 Inter 1: Gabigol gets belated lift-off in Serie A|
|Still no Mascherano or Arda for Barcelona|
|Bielsa appointed Lille boss from next season|
|Janssen determined to make the grade at Tottenham|
|Stones missing Kompany influence at Manchester City - Ferdinand|
|Central Coast Mariners 0 Melbourne Victory 3: Muscat´s men cruise to win|
|David Villa sent off after video replay|
|Favre not blaming Balotelli for latest red card|
|´It is my future at stake´ – Isco could leave Real Madrid|
|Smalling desperate for Ibrahimovic stay|
|´He will be here for sure´ - Mourinho rules out Shaw exit|
|Wenger not ready for retirement, wants Arsenal stay|
|Pogba will soon look cheap, claims Manchester United boss Mourinho|
|Casilla defends under-fire Navas|
|Isco ´happy and committed´ at Real Madrid – Zidane|