Max Verstappen edged Lewis Hamilton for the fastest time in the third and final practice session for the Spanish Grand Prix ahead of Saturday’s qualifying.

Verstappen pushed his Red Bull to a session-best lap of 1 minute, 17.83 seconds.

Hamilton, who leads Verstappen by eight points in the Formula One standings, was just 0.23 slower in his Mercedes.

Mercedes driver Lewis Hamilton of Britain steers his car during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Mercedes driver Lewis Hamilton of Britain steers his car during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Verstappen had finished the first two practice sessions on Friday with the second- and ninth-fastest times.

Ferrari pair Charles Leclerc and Carlos Sainz had the third- and fourth-fastest times, respectively, just ahead of Mercedes’ Valtteri Bottas on Saturday.

The final practice session under sunny skies near Barcelona was incident-free except for a tire puncture that sent Lando Norris’ McLaren into the gravel momentarily. Norris, who is a distant third in the points standings, finished with the sixth-best time.

Mercedes driver Valtteri Bottas of Finland steers his car during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Mercedes driver Valtteri Bottas of Finland steers his car during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Later, Hamilton will aim for his 100th career pole position.

Hamilton won the season opener in Bahrain and last week’s race in Portugal. Verstappen won the season’s second race in Italy.

More AP auto racing: https://apnews.com/hub/auto-racing and https://twitter.com/AP_Sports

Ferrari driver Charles Leclerc of Monaco steers his car during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Ferrari driver Charles Leclerc of Monaco steers his car during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Mclaren driver Daniel Ricciardo of Australia takes a curve during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)

Mclaren driver Daniel Ricciardo of Australia takes a curve during the third free practice for the Spanish Formula One Grand Prix at the Barcelona Catalunya racetrack in Montmelo, just outside Barcelona, Spain, Saturday, May 8, 2021. The Spanish Grand Prix will be held on Sunday. (AP PhotoEmilio Morenatti)