Lewis Hamilton upset the odds to put his Mercedes on pole position for the Singapore Grand Prix following a scintillating lap in qualifying.
Hamilton's rival Sebastian Vettel had been the favourite to take the glory under the floodlights of the Marina Bay Street Circuit.
But the Ferrari driver, who trails Hamilton by 30 points in the championship, finished only third, with Max Verstappen second for Red Bull.
Hamilton headed into Saturday's session having failed to trouble the top of the order in any of the three practice sessions here.
Indeed, the Singapore venue is supposed to be suited to Ferrari and a bogey track for Mercedes.
But the defending champion pulled out an astonishing lap to claim the 79th pole of his career, and finish a third of a second faster than Verstappen.
Vettel was an enormous six-tenths slower than his rival, while Valtteri Bottas in the sister Mercedes machinery finished three-quarters of a second down on Hamilton in fourth.
Starting from the front is crucial at this twisty and slow-speed temporary track, with seven pole-sitters of the 10 races contested in Singapore taking the chequered flag.
And moments after delivering yet another of his one-lap masterclasses, Hamilton was visibly shaking with the emotion of a performance which edges him ever closer to a fifth championship.
"Wow," he said. "That lap felt like magic and I don't know where it came from. It just all came together, and today I managed for that one lap to get it right.
"I am super overwhelmed and my heart is racing. I might have an anxiety attack in a second.
"It felt special. I don't feel there was a moment in the lap where I ran wide or there were any problems. It felt like one of the best laps that I remember driving."
A deflated Vettel added: "It is not ideal. We wanted to get pole and we didn't.
"It was a messy qualifying session, and there was too much time missing. The laps were not good enough so it was not what we wanted."
Kimi Raikkonen finished fifth for Ferrari ahead of Red Bull's Daniel Ricciardo in sixth.
Fernando Alonso, entering the swansong of his career, missed out on progressing to Q3 by just one-tenth of a second.
McLaren informed Alonso he had qualified 11th.
"Nice," the Spaniard, 37, replied. His team-mate, Stoffel Vandoorne, who will be replaced by British teenager Lando Norris next season, was more than a second down on Alonso and lines up in 18th for Sunday's race.
Elsewhere, there was more misery for British team Williams after Sergey Sirotkin and Lance Stroll finished 19th and last respectively.
The pair were an eye-watering 1.4 seconds slower than any other team.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Philip Duncan, Press Association Sport F1 Correspondent, Singapore');
ga('pacontentapi.set', 'dimension2', '450a23ff-da1b-4609-935f-e2a562a15a8b');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:uk,paservice:sport:world');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:auto,sport:f1,sport:other');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Hamilton springs a Singapore surprise in qualifying'});