Daniel Ricciardo denied Max Verstappen his first P1 in Formula 1 by snatching pole position for the Mexican Grand Prix as title rivals Lewis Hamilton and Sebastian Vettel completed the second row.
Ricciardo beat his Red Bull team-mate Verstappen on the final runs in qualifying to take his second pole of the 2018 season.
Hamilton was quickest on hypersofts in the opening phase of qualifying but Verstappen had the edge on ultrasofts in Q2 and took that momentum into Q3 to hold provisional pole after the first runs.
His one minute, 14.785 seconds was almost two tenths of a second clear of Vettel, while Hamilton lost time in the middle sector but snuck ahead of the second Red Bull of Ricciardo to hold third spot.
Vettel, Ferrari team-mate Kimi Raikkonen and the other Mercedes of Valtteri Bottas all failed to improve on their second runs, but Ricciardo vaulted to top spot on a one minute, 14.759 seconds.
That only put him 0.026 seconds clear of Verstappen but was enough for pole given that Mad Max failed to improve despite setting a fastest first sector and Hamilton only managed a one minute, 14.894 seconds.
Bottas will line up fifth with Austin race winner Raikkonen sixth on an all-Finish third row.
Red Bull, Mercedes and Ferrari were all able to progress to Q3 without using the softest compound.
That means they will all start the race on the more preferable ultrasoft tyre and can avoid the problematic hypersofts.
Renault continued to hold an advantage in the best-of-the-rest fight through qualifying but it was Charles Leclerc who hauled his Sauber to seventh on the first runs.
Leclerc outpaced Nico Hulkenberg by less than a tenth before the Renaults hit back on their second laps, with Hulkenberg leading Carlos Sainz Jr as Leclerc was shuffled to ninth.
His Sauber team-mate Marcus Ericsson completed the top ten and was fortunate to make it through to the shootout having failed to improve on his second run in Q2.
With the hypersoft tyres degrading so rapidly in Friday practice Esteban Ocon has arguably the most favourable position of the midfield teams as the first of those who did not make Q3.
Ocon was P11 after Racing Point Force India opted to use supersofts and then ultrasofts in the second part of qualifying.
It means he and Sergio Perez, who qualified P13, will have freedom of choice over the tyres they start the race on.
Fernando Alonso split the Force Indias in his McLaren, while the under-pressure Brendon Hartley was limited to P14 after a mistake on his final lap – Toro Rosso suggested he was on course for a lap time that would have been good enough to progress.
Hartley’s team-mate Pierre Gasly did not complete a timed lap in Q2 because Honda’s engine strategy and a gearbox change meant he went into the session consigned to a back-of-the-grid start, so Toro Rosso opted to save tyres and mileage.
Romain Grosjean was first of the drivers to be eliminated in the opening part of the session, missing out on progressing by just half a tenth.
He and Haas team-mate Kevin Magnussen used three sets of hypersofts in their bid to make Q2 but still fell short.
Magnussen was 18th-fastest after failing to improve on his final run, with the McLaren of Stoffel Vandoorne in between the Haas pair.
Williams duo Lance Stroll and Sergey Sirotkin were slowest but will not fill out the last row of the grid as Gasly will drop back because of his penalty.
So congratulations to Daniel Ricciardo in achieving that second pole position this season. Leading a Red Bull 1-2 with Max Verstappen. It was unfortunate that Max missed out on his first pole after setting the pace in all practice sessions. Maybe Verstappen can have the last laugh by winning the Mexican Grand Prix.
Qualifying positions, Mexican Grand Prix:
1 Daniel Ricciardo Red Bull-Renault 1m14.759s
2 Max Verstappen Red Bull-Renault 1m14.785s
3 Lewis Hamilton Mercedes 1m14.894s
4 Sebastian Vettel Ferrari 1m14.970s
5 Valtteri Bottas Mercedes 1m15.160s
6 Kimi Raikkonen Ferrari 1m15.330s
7 Nico Hulkenberg Renault 1m15.827s
8 Carlos Sainz Renault 1m16.084s
9 Charles Leclerc Sauber-Ferrari 1m16.189s
10 Marcus Ericsson Sauber-Ferrari 1m16.513s
11 Esteban Ocon Force India-Mercedes 1m16.844s
12 Fernando Alonso McLaren-Renault 1m16.871s
13 Sergio Perez Force India-Mercedes 1m17.167s
14 Brendon Hartley Toro Rosso-Honda 1m17.184s
15 Stoffel Vandoorne McLaren-Renault 1m16.966s
16 Kevin Magnussen Haas-Ferrari 1m17.599s
17 Lance Stroll Williams-Mercedes 1m17.689s
18 Romain Grosjean Haas-Ferrari 1m16.911s
19 Sergey Sirotkin Williams-Mercedes 1m17.886s
20 Pierre Gasly Toro Rosso-Honda –