Inter Milan beat Napoli 2-0 Tuesday to hold on to second place in the penultimate round of the Italian Serie A.

Atalanta had temporarily gone second through an earlier 2-1 win at Parma and sit one point adrift before meeting Inter in the weekend's season ender, according to Deutsche press agency (dpa).

Inter defender Danilo D'Ambrosio deflected into the left corner after Cristiano Biraghi found him free in the box and second-half sub Lautaro Martinez drilled in a great drive from the distance on 74 minutes.

Inter have the league's best defence, with 36 goals conceded.

In Parma, the hosts went up through a first-half effort by ex-Atalanta midfielder Dejan Kulusevski, a 20-year-old Swede who will play the next season with early league winners Juventus.

The guests, who boast the league's best attack on 98 goals, did not display their usual aggressive game, but levelled after the break as substitute Ruslan Malinovskyi drilled a free-kick through a shaky wall and completed the comeback from Alejandro Gomez' firm shot six minutes from time.

"It often happens that we start off slowly. Today we made many defensive mistakes, and did not threaten up front," Atalanta boss Gian Piero Gasperini said. "Possibly it was our worse first half of the season."

A Champions League quarter-final against Paris-Saint Germain awaits Atalanta on August 12. They are already qualified for the next elite campaign along with Juve, Inter and Lazio.

Juve and Napoli also have Champions League duty in August, when Inter and Roma battle in the Europa League. The Neapolitans qualified for the next lower-grade event by winning the Italian Cup.

Matchday 37 ends Wednesday with eight games programmed.