Jack Miller clinched a dramatic pole position at the Argentina Grand Prix with a stunning final flying lap.
It had appeared that Dani Pedrosa had negotiated the changing conditions at the Termas de Rio Hondo best, with the Spaniard top when the chequered flag was waved.
But Australian Miller came out of nowhere to post a time of one minute and 47.153 seconds to ensure he will head the grid on race day.
Pedrosa and Johann Zarco – who was on pole for the MotoGP season-opener in Qatar – complete the front row.
Marc Marquez had finished top of FP2, 3 and 4, but the Spaniard struggled on the slicks on a drying track, and opted to revert to the wet bike.
However, the world champion could only qualify sixth, behind Tito Rabat and Alex Rins, who were fourth and fifth.
1. Jack Miller (Ducati Pramac): 1:47.153secs
2. Dani Pedrosa (Repsol Honda): 1:47.330s
3. Johann Zarco (Monster Yamaha): 1:47.365s
4. Tito Rabat (Reale Avintia Racing): 1:47.681s
5. Alex Rins (Suzuki Ecstar): 1:47.743s
6. Marc Marquez (Repsol Honda): 1:47.754s
7. Aleix Espargaro (Aprilia): 1:47.845s
8. Andrea Dovizioso (Ducati): 1:48.247s
9. Maverick Vinales (Movistar Yamaha): 1:49.044s
10. Cal Crutchlow (LCR Honda): 1:49.304s