Federico Dimarco strikes as Parma edge out-of-form Inter Milan at San Siro

Just three years after going bankrupt, Parma returned to winning ways in Serie A with a surprise 1-0 win over Inter Milan at San Siro.

And it was a player on loan from Inter, Federico Dimarco, who scored a spectacular long-range goal to hand Parma its first win in the top flight after a fairytale rise through the divisions.

It was also Parma's first win at Inter since 1999.

For Inter, it was a disappointing way to warm up for their return to the Champions League.

The Nerazzurri host Tottenham on Tuesday in their first match in Europe's elite club competition since the 2011-12 season.

With that game in mind, Inter coach Luciano Spalletti made a number of changes, resting Mauro Icardi, Matteo Politano, Kwadwo Asamoah -- although all three came on in the second half.

Inter had the better of the chances with Ivan Perisic volleying over from a good position, while a flick from a corner flew past both Milan Skriniar and Danilo D'Ambrosio at the back post.

Spalletti threw on Icardi at the start of the second half while Dimarco was brought on by Parma coach Roberto D'Aversa.

Dimarco was almost the villain of the match for Parma as he appeared to handle the ball when clearing off the line against Perisic but the referee waved play on.

And the 20-year-old left back proved to be the hero 11 minutes from time with a stunning shot from 30 yards into the top right corner. It was Dimarco's first Serie A goal and he celebrated wildly against his former team.