Sampdoria secured an unlikely league double over Serie A champions Juventus as they came from behind to win 3-2 at Stadio Luigi Ferraris.

Juventus took the lead when Fabio Quagliarella latched onto a lofted Andrea Pirlo pass to slot home but were quickly pegged back when Eder levelled from the penalty spot after the referee adjudged that Giorgio Chiellini had shoved Mauro Icardi.

The Old Lady missed three golden chances to take the lead after the restart and were made to pay when Lorenzo De Silvestri headed home from a corner.

Sampdoria then extended their advantage when Icardi tapped home after a lightning counter attack before a bizarre incident, in which the referee appeared to award a penalty to Juventus and then reverse his initial decision.

A late Emanuele Giaccherini strike threatened the home side but they held on to claim an impressive win.

Juventus fielded a semi-rotated team for the end of season clash but any worries that the game would descend into a dull end-of-season stalemate were quickly quashed as both teams started brightly even though torrential rain made playing conditions tricky.

Despite forcing a couple of early set pieces Sampdoria struggled to create any early chances, and nearly fell behind when Quagliarella’s shot almost fooled Junior Costa but the keeper managed to awkwardly shift his body in between the ball and the goal.

The champions then went close again when Chiellini picked up the ball in acres of space, fired a shot at goal which took a deflection and forced Costa into another good stop.

The breakthrough arrived shortly before the half hour. Pirlo delivered a trademark pass over the defence which released Quagliarella and the striker made no mistake, outwitting the keeper one on one to slot the ball home.

Sampdoria looked deflated but were handed an unlikely route back into the match. A hopeful ball towards Icardi was dealt with by Chiellini unfairly in the referee’s eyes and a spot kick was awarded which Eder duly swept into the bottom left corner.

The goal breathed new life into Sampdoria’s play as they started pressurising their opponent’s into mistakes and they almost went ahead when an unmarked De Silvestri headed into the ground from a corner, but the ball bounced just over the bar.

Juventus then nearly scored from a corner of their own, with Chiellini almost atoning for his penalty misdemeanour but his header also flashed over.

The Serie A champions came out after the restart with real intent to take the game to Sampdoria and they missed three big chances to assert their advantage.

First Quagliarelli shot wide from six yards, then Giaccherini was thwarted by an outstanding save when one on one with Costa before Simone Padoin blazed a bouncing ball over the top.

And they were made to pay for their profligacy when De Silvestri arrived at the near post to head in from a corner.

Juventus desperately tried to find a way back into the match, creating plenty of openings down the flanks, and Quagliarella should have equalised when a deflected cross fell perfectly to him but his tame effort was comfortably saved.

The decisive third goal came from a great counter attack. Estigarribia broke down the right, carrying the ball half the length of the pitch, before spraying the ball across to Icardi who tapped home.

The away side thought they had a chance to reduce the arrears when the referee awarded them a penalty for a blatant push, but he then changed his decision much to the bewilderment of the players and the Old Lady faithful.

Giaccherini’s late strike gave Juventus a glimmer of hope of salvaging a draw but Sampdoria held on for a morale boosting win ahead of the summer break.