Honda's Marc Marquez snatched his fourth pole position of the season from rival Jorge Lorenzo in a closely fought MotoGP qualifying session at Jerez.
The reigning world champion saved his best until the dying moments of the session as he denied the Yamaha of Lorenzo from securing pole with an impressive 1.38.120s last ditch effort.
Lorenzo trailed the championship leader by more than four tenths of a second, while Marquez's team-mate Dani Pedrosa completed the front row in third.
The Yamaha rider had held provisional pole for the majority of qualifying before Marquez struck in the final minutes.
The home crowd were treated to a classic duel between the Spanish riders for pole with the 21-year-old Marquez producing the fastest ever lap from a MotoGP bike around the Jerez circuit to grab the all important pole position.
Yamaha's Valentino Rossi was fourth fastest ahead of top Open class runner Aleix Espargaro, who suffered a crash during the session. Ducati's Andrea Dovizioso confirmed his strong showing in practice by securing sixth spot.
Arguably the biggest shock of the session was Cal Crutchlow's failure to progress to Q2.
The Ducati rider, who missed the previous round at Argentina with a broken finger, could only post a time good enough for 14th place on the grid.
Australia's Broc Parkes will start Sunday's race from 23rd on the grid.
Queenslander Jack Miller continued his impressive start to the Moto3 season as he secured his third consecutive pole position of the season.
The Townsville Red Bull KTM rider dominated the session setting a personal best time a full six tenths of a second quicker than his nearest rival Niccolo Antonelli.
MotoGP Grand Prix of Spain Qualifying Results
Pos | Rider | Team/Bike | Time | Gap |
1 | Marc Marquez | Honda | 1m38.120s | |
2 | Jorge Lorenzo | Yamaha | 1m38.541s | +0.421s |
3 | Dani Pedrosa | Honda | 1m38.630s | +0.510s |
4 | Valentino Rossi | Yamaha | 1m38.857s | +0.737s |
5 | Aleix Espargaro | Forward Yamaha | 1m39.007s | +0.887s |
6 | Andrea Dovizioso | Ducati | 1m39.222s | +1.102s |
7 | Stefan Bradl | LCR Honda | 1m39.243s | +1.123s |
8 | Pol Espargaro | Tech 3 Yamaha | 1m39.293s | +1.173s |
9 | Bradley Smith | Tech 3 Yamaha | 1m39.390s | +1.270s |
10 | Alvaro Bautista | Gresini Honda | 1m39.751s | +1.631s |
11 | Colin Edwards | Forward Yamaha | 1m39.814s | +1.694s |
12 | Nicky Hayden | Aspar Honda | 1m39.826s | +1.706s |
13 | Hiroshi Aoyama | Aspar Honda | 1m39.768s | Q1 |
14 | Cal Crutchlow | Ducati | 1m39.849s | Q1 |
15 | Andrea Iannone | Pramac Ducati | 1m40.118s | Q1 |
16 | Karel Abraham | Cardion Honda | 1m40.126s | Q1 |
17 | Michele Pirro | Ducati | 1m40.239s | Q1 |
18 | Scott Redding | Gresini Honda | 1m40.453s | Q1 |
19 | Yonny Hernandez | Pramac Ducati | 1m40.566s | Q1 |
20 | Danilo Petrucci | Ioda Aprilia | 1m41.009s | Q1 |
21 | Michael Laverty | PBM Aprilia | 1m41.124s | Q1 |
22 | Mike di Meglio | Avintia FTR-Kawasaki | 1m41.517s | Q1 |
23 | Broc Parkes | PBM Aprilia | 1m41.702s | Q1 |
24 | Hector Barbera | Avintia FTR-Kawasaki | 1m42.052s | Q1 |
*Stay with Speedcafe.com for all the latest MotoGP headlines