Lewis Hamilton will lead the lineup at Jeddah as his Mercedes teammate Valterri Bottas and title-rival Max Verstappen start second and third respectively. 

One turn away from a potential pole finish, Verstappen slapped the wall. He climbed from his damaged Red Bull and walked down the street circuit shaking his head in dismay. He then climbed through a hole in the safety fencing, caught a ride in the backseat of the safety car and returned to the paddock.

Also read: Saudi Arabia GP: Lewis Hamilton’s rainbow helmet faces backlash over sponsor

“That was terrible,” Verstappen said. “We don’t understand what happened. I locked up and I still tried to, of course, keep the car on the track to try to finish the lap but it clipped the rear and I had to stop. P3 is is a bit disappointing.”

Meanwhile, Hamilton jumped to the top of the qualifying board with about 80 seconds remaining in Saturday’s session. 

Verstappen was likely on pace to take the pole from Hamilton. “What a tough track this is, incredibly technical and complex,” he said. “It’s amazing what they’ve built here, track-wise the speed and the pace around here is phenomenal.”

The two championship rivals — they are separated by eight points with two races remaining — bumped fists after the session.

Also read: How Max Verstappen can win Formula 1 championship in Saudi Arabia Grand Prix

Hamilton earlier was summoned before the stewards for violating yellow flag rules in practice, but the British driver was not penalized. He was later issued a warning, though, and Mercedes was fined 25,000 pounds ($33,000).

With a perfect race on Sunday, Verstappen could clinch his first F1 title with a victory and a seventh-place finish by Hamilton. But he may also receive a penalty on the starting grid if Red Bull needs to make significant repairs to Verstappen’s car.

Hamilton used back-to-back victories last month to slice 11 points from Verstappen’s lead. After qualifying, he embraced Bottas for locking up the front row for Mercedes.

Bottas is being replaced at Mercedes next year and Hamilton heaped praise on his teammate.

“The collaboration has been just epic with Valtteri, he’s the best teammate there’s even been in this sport, for sure,” Hamilton said.

Hamilton, who was fastest in both of Friday’s practices, has a chance to leave Saudi Arabia tied with Verstappen in the standings if the Mercedes driver wins on Sunday and scores maximum points.

The drivers have praised the high-speed street circuit that spans 6.2 kilometers (3.8 miles), with 27 corners (16 left turns, 11 right turns). It was built along a 30-kilometer (18.6-mile) coastal resort area in Jeddah and workers were still completing final touches ahead of this weekend’s F1 debut in the country.

F1 is closing its season with three consecutive races in the Middle East and four total stops in the region this year. Hamilton spoke out in Bahrain and Qatar and said on Thursday he wouldn’t choose to race in Saudi Arabia. The season concludes next week in Abu Dhabi.

With inputs from Associated Press