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'
|Gabi braced to tackle big-spending rivals|
|Shaw: I deserved Van Gaal criticism|
|Morinigo surprised by Gedoz substitution|
|Honduras appoint Medford|
|Van Gaal delighted with United display|
|Roma battle past Real Madrid|
|Simeone talks up Hernandez transfer|
|Defensor Sporting 1 Nacional Asuncion 0 (1-2 agg): Visitors into final despite loss|
|United edge Inter on penalties|
|Gerrard: It´s been ´the worst three months of my life´|
|Sabella set to quit Argentina post|
|Toure plans to see out career with City|
|Tevez´s father released after kidnapping|
|Benitez denies Callejon spat|
|Brownhill stunner downs Burnley|
|Sunderland edge out Recreativo|
|Barton and Hoilett earn QPR draw|
|UEFA Champions League Review: Lafata treble puts Sparta in command, Slovan beat Sheriff|
|Gomis opens Swansea account at Exeter|
|Schneiderlin hints at Southampton discontent|
|Scolari makes Gremio return|
|Bojan strike in vain as Schalke beat Stoke|
|Tevez to miss friendly amid kidnap reports|
|Porto sign Jose Angel from Roma|
|UEFA Europa League Preview: Trencin v Hull City|
|Liverpool land Origi|
|UEFA Europa League Preview: Torino return to Europe after 20-year absence|
|Rodriguez and Schneiderlin not for sale, say Southampton|
|Rakitic: Not all about front three|
|Barkley pens new Everton deal|
|Guardiola relishing Chivas friendly|
|Drogba targets Premier League glory|
|Hull make Maguire and Robertson double swoop|
|Perisic blow for Wolfsburg|
|Ibrahimovic scores hat-trick as PSG hammer Kitchee|
|Al-Hilal coach sacked over referee row|
|La Liga boss wants cream of the crop|
|Valencia granted work permit, completes West Ham move|
|Atletico complete deal for Griezmann|
|Reus focused on fitness battle despite ´major European interest´|
|Barcelona announce club-record revenue|
|Bony could be sold for right price, says Jenkins|
|Confidence key for Newcastle, says Taylor|
|Saivet out for four weeks with knee injury|
|Genk part company with Ferrera after just one game of season|
|Gold clarifies Twitter gaffe|
|Vidic adapting to different style at Inter|
|Toulouse bring in Matheus|
|Butragueno backs Rodriguez to cope with pressure|
|Benteke aiming to come back stronger|
|Valdez joins Frankfurt|
|Jovetic ready to shine|
|Simeone hails Griezmann qualities|
|Monk unsure over De Guzman future|
|Benitez: Michu will take time to adjust|
|Diaby confident of staying fit|
|Shaw not fit enough, says Van Gaal|
|MLS Preview: RSL look for attacking spark|
|Monk slaps ´astronomical´ price on Bony´s head|
|Australian clubs looking at Ronaldinho|
|Sinclair enjoying ´one of the best pre-seasons´|
|Spiranovic surgery a success|
|Seattle Sounders 0 Los Angeles Galaxy 3: First-half blitz fires Californians to victory|
|Lemina thrilled with Bielsa effect|
|Bayern´s Green chomping at the bit|
|Palace complete US tour with easy win|
|Carragher: Liverpool didn´t want me|
|Simeone: Atleti´s La Liga triumph was no fluke|
|Sturridge: ´I´ll step up´|
|Van Gaal: Formation gives United flexibility|
|Mathieu insists age is no barrier|
|Martinez the deal sealer, says Besic|
|Coaches embrace blockbuster Serie A start|
|Ronaldinho to leave Atletico Mineiro|
|Lorient capture Ayew|
|Celtic loan Berget, sell Watt|
|Pires signs up for Indian Super League|
|Allegri set for early San Siro reunion in maiden Juve campaign|
|Bakayoko makes Monaco move|
|Bakayoko makes Monaco move|
|Lens granted Ligue 1 place|
|UEFA Champions League Preview: Red-hot Salzburg face Qarabag|
|Parma bring in Cassani from Fiorentina|
|De Vrij set for Lazio|
|BREAKING NEWS: Everton complete Besic signing|
|Kongolo pens Feyenoord extension|
|Redknapp confirms Granero exit|
|Advocaat confirmed as Serbia coach|
|CSL Preview: Henan aim to escape drop zone, Liaoning host Guangzhou RandF|
|Arribas makes Sevilla switch|
|Chambers joins Arsenal|
|Ospina buoyed by Arsenal recruitment|
|Liverpool´s loss is our gain, says Redknapp on Remy|
|Ferdinand: I would still be at United with Giggs in charge|
|Pepe targets Super Cup glory|
|Martinez prioritising striker signing|
|Perez not looking to leave Benfica|
|Klopp itching to work with full Dortmund squad|
|Mourinho: It feels like Drogba never left|
|FIFA asks for FIGC review into alleged racist remark|
|Hull to review Maguire deal|
|Wenger prepared to gamble on Chambers|
|Atletico agree Griezmann deal|
|Irvine planning further striker addition|
|Campbell: Black professionals scared to talk about racism|
|Mata backs Herrera to star in Premier League|
|Injured Rafael returning to Manchester|
|Schmidt demands more from Leverkusen|
|Copa Libertadores Preview: Defensor Sporting banking on home record|
|Remy´s Liverpool move off, confirms Rodgers|
|Inzaghi demands nastiness from Milan|
|MLS Review: Timbers triumph in Montreal, Dallas thwart Vancouver|
|Jovetic ready to lead City line - Pellegrini|
|Lewandowski impresses Ribery, Alaba|
|Colombian Primera A Review: Three clubs remain perfect, Atletico Nacional get off the mark|
|Rodgers: ´We can score goals´ without Suarez|
|Chilean Primera Division Review: Canales brace powers Universidad Chile|
|Atletico Madrid need penalties to edge past Earthquakes|
|Liga MX Review: Monterrey, America stay perfect|
|Paraguayan Primera Division Review: Capiata set pace|
|Brazilian Serie A Review: Cruzeiro win again, Kaka scores|
|Sterling goal sees Liverpool past Olympiacos|
|Peruvian Primera Division Review: Los Caimanes notch maiden win, Inti Gas claim top spot|
|CAF Champions League Review: Zamalek held, Vita Club leave it late|
|Jovetic at the double as Manchester City thrash Milan|