Finland's Valtteri Bottas took his first Formula One pole position at the Bahrain Grand Prix on Saturday with a sizzling lap that ended Mercedes team mate Lewis Hamilton's bid for a seventh in a row.
Triple world champion Hamilton qualified alongside, a mere 0.023 - or 17 centimetres - slower than Bottas's time of one minute 28.769 seconds.
That clinched the first front row lockout of the season for the reigning champions after two races with Ferrari's Sebastian Vettel splitting the Silver Arrows.
Hamilton, who joked and laughed in a later news conference, appeared delighted for Bottas and offered a warm handshake as they left the weighing room.
"Firstly, a big congratulations to Valtteri. He has been working so hard, gelled so well with the team and today he was just quicker, he did the better job and hats off to him," said Hamilton.
"That's how close I think qualifying should always be."
"For sure, it feels good," said Bottas, the first Finnish driver to secure a pole position since Hamilton's then-team mate Heikki Kovalainen for McLaren at the 2008 British Grand Prix, 168 races ago.
"It's my first pole in my career in my fifth season in F1 so it took a few years but hopefully it's the first of many for me," he added.
Vettel, joint leader of the world championship standings with Hamilton after two races with one win each, will start in third place with Red Bull's Australian Daniel Ricciardo fourth.
Ferrari's Kimi Raikkonen, whose last pole was also in 2008, qualified fifth.
Mercedes won the race last year with now-retired champion Nico Rosberg, the man Bottas has replaced, and have now taken five successive poles at the desert Sakhir circuit.
Hamilton had been fastest in both the first and second phases of qualifying, and set the pace with his first lap in the final session before Bottas pulled off his masterstroke.
The ever-calm Finn let out a rare whoop over the team radio, with his engineer commenting that "for a moment there you actually showed some emotion, well done".
Hamilton and Vettel, sitting alongside Bottas in front of reporters, jokingly asked the polesitter whether the Finnish language had a word for excitement. Bottas thought hard but words failed him.
Dutch teenager Max Verstappen qualified sixth for Red Bull with Nico Hulkenberg seventh on a good day for Renault, who had Britain's Jolyon Palmer in 10th place.
German driver Pascal Wehrlein also made a strong return after a back injury kept him out of the first two races, qualifying 13th for Sauber while Swedish team mate Marcus Ericsson was only 19th.