St Johnstone made a winning start to their Scottish Premiership return as Kai Fotheringham's strike settled a seven-goal thriller against Kilmarnock.
Both sides held the lead then fell behind at a sunny McDiarmid Park that was witness to plenty of attacking intent but little defensive solidity.
After a year in the Championship, which St Johnstone won at a canter, the hosts unfurled the title flag. They then got off to the perfect start as they took advantage of a Killie mistake to score through Josh Fowler.
Neil McCann's side looked slack on the ball but nabbed an equaliser before the break when Greg Kiltie stole in at the back post to fire home a knockdown.
Just 45 seconds into the second half, St Johnstone were back in front. Cheick Diabate was allowed a free run at a floated corner, powering in his header from a few yards out.
Within two minutes, Kilmarnock were level again. A cross from the right was deflected into the sky and goalkeeper Toby Steward was caught in no-man's land as Joe Hugill got a toe to the ball to loop it into the net.
Less than five minutes later, Kilmarnock had the lead. Nicky Clescenco's shot was initially saved by Steward, but the ball deflected cruelly off Jason Holt and into the net.
The 3-2 scoreline was scarcely believable after the opening 45 minutes, but St Johnstone regained their composure to summon victory.
Louis Lloyd had been on the pitch seconds when he glanced a free-kick into the net - although it was later given as a Michael Schjonning-Larsen own goal.
Then Fotheringham wandered through the Killie defence and into the box where he lashed home the winner.