Sebastian Vettel's hopes of a successful first race since announcing his Formula One retirement suffered a setback as he crashed in third practice for the Hungarian Grand Prix.

The four-time world champion this week confirmed he will end his F1 career at the end of the season.

His move to Aston Martin in 2021 has not delivered the desired results, with Vettel claiming just one podium since his switch from Ferrari.

But Vettel was impressing amid heavy rain at the Hungaroring, only to lose control of his rear tyres and spin into barriers at turn 10.

That saw the session briefly red-flagged before it was brought to a conclusion by the Williams of Nicholas Latifi surprisingly posting the fastest time on intermediate tyres on a drying track.

It is the first time Latifi has been quickest in an F1 practice session.

His team-mate Alexander Albon was third, sandwiching the Ferrari of Charles Leclerc, with the changeable conditions setting the stage for a fascinating qualifying session.

The session was largely defined by Mercedes' struggles for grip. George Russell did find enough to go fifth fastest, but Lewis Hamilton could only manage 11th.