Lewis Hamilton’s Ferrari crossed the line just 0.009 seconds ahead of George Russell’s Mercedes in Mexico City, giving Hamilton his first pole position for the team. The seven-time world champion will start Sunday’s Grand Prix at the front of the grid, after a final lap that turned a difficult weekend into a landmark moment.

Pole position goes to the driver who qualifies fastest and starts the race first. Hamilton’s result is his first pole since the 2023 Hungarian Grand Prix, three years and three months ago, and the 105th of his career. He is also the oldest driver to take pole since Mario Andretti did so for Ferrari at the 1982 Italian Grand Prix.

The result could affect the title fight. Kimi Antonelli, who qualified fifth, can clinch the world championship on Sunday. But he will start fourth because Max Verstappen received a one-place penalty. Russell and Hamilton are the only drivers who can still prevent Antonelli from taking the title: Russell needs to win while Antonelli finishes lower than ninth, or Hamilton needs to win while Antonelli finishes outside the points.

The final qualifying session began with Hamilton and Russell setting their first times early. Their rivals had one last chance to pass them, but none managed it. Ferrari teammate Charles Leclerc came closest, ending 0.119 seconds behind Hamilton. Verstappen was fastest through the first two sectors of his lap and looked set to take pole, but he locked his wheels under braking at the hairpin in the stadium section and lost his chance.

Hamilton had been fourth on the first runs, more than 0.4 seconds behind Leclerc’s early pace. He said he did not think he lost time anywhere on his final lap. The turnaround came after an engine issue the day before had left the team behind on its planned work, including a long run. Hamilton credited the setup changes and said taking his first pole for Ferrari felt special, recalling watching Michael Schumacher win poles for the team.

Russell said he was pleased to be back near the front after a difficult spell, though he could not explain the change. On his final run, he chose not to do a preparation lap, despite the team having planned for one and added fuel for it. Russell said he had a “gut feeling” about the choice, while noting the extra fuel’s time cost was greater than the tiny gap to pole.

Lando Norris, who had looked in contention after the first runs, could not improve and qualified sixth. Alonso’s promising session ended when a water leak in the energy recovery system forced him to stop his Aston Martin on track. He said the car had looked good all weekend, but expected to start from the back and said there was little he could do in the race from there.

Hamilton’s pole gives Ferrari a front-row start and puts the title fight in sharper focus. On Sunday, the final result will show whether Antonelli can seal the championship—or whether Hamilton or Russell can keep the contest alive.