Lewis Hamilton took pole position at the Mexican Grand Prix as title rival Nico Rosberg left it late to join him on the front row.
Rosberg was slower than the Red Bulls throughout qualifying until the last lap, when he sneaked ahead of Max Verstappen and Daniel Ricciardo.
Rosberg was 0.254secs behind Hamilton and just 0.096secs quicker than Verstappen with his crucial last lap.
German Rosberg is 26 points ahead of Hamilton with 75 remaining this season.