Inter Milan recovered from a goal down to earn a 3-2 win at Atalanta in Serie A on Sunday, with striker Edin Dzeko netting twice to send the visitors into provisional fourth place.
Inter moved up one spot and onto 30 points, two points ahead of fifth-placed Juventus who host Lazio later on Sunday. Atalanta remain sixth on 27 points.
Goalkeeper Andre Onana saved Inter early on when he kept out a close-range effort from midfielder Teun Koopmeiners in the 15th minute and Jose Luis Palomino's header one minute later.
But Onana was beaten 10 minutes later from the penalty spot when Atalanta winger Ademola Lookman converted to put the hosts ahead after Duvan Zapata had been brought down.
Inter levelled in the 36th through Dzeko after Lautaro Martinez nodded the ball into the six-yard box for the Bosnia striker to finish with a clever backheel.
Simone Inzaghi's visitors took the lead when Dzeko's strike from close range deflected off Atalanta defender Joakim Maehle into the net after 56 minutes.
Inter then went 3-1 up just after the hour when home defender Jose Luis Palomino headed the ball into his own net after Martinez nodded on a corner from Hakan Calhanoglu.
Palomino made amends in the 77th with a diving header from a corner in the 500th Serie A match for Atalanta coach Gian Piero Gasperini and 250th for Inter boss Inzaghi.