Lautaro Martinez struck twice as Inter recovered from two goals down to beat Empoli 4-2 in a thrilling contest and climb above fierce rivals Milan at the top of Serie A.
Empoli had failed to win any of their previous nine away league games yet took the lead inside five minutes at San Siro through Andrea Pinamonti, who is on loan from Inter.
Inter were two goals behind when Kristjan Asllani fired in, but Martinez struck after ex-Milan man Simone Romagnoli had put into his own net to level up before half-time.
Martinez completed the comeback in the 64th minute and Alexis Sanchez added a late fourth as Inter moved one point above Milan, who travel to Hellas Verona on Sunday.
Pinamonti slid in to meet Szymon Zurkowski's cross and give Empoli an early lead, the striker proving true to his word by not celebrating the goal.
Asllani had a goal ruled out for an offside infringement but, after Inter had a penalty awarded and then ruled out by VAR, the youngster brilliantly controlled a pass and fired home.
But Romagnoli's own goal when trying to cut out Federico Dimarco's cross gave Inter hope and Martinez guided in a first-time shot five minutes later to wipe out Empoli's lead.
Martinez's second arrived following a sustained spell of Inter pressure, the Argentina striker volleying past Guglielmo Vicario after Riccardo Fiamozzi only half-cleared the ball.
Sanchez then added some gloss to the scoreline in added time when converting a pass from fellow substitute Edin Dzeko.