Marc Marquez held off a spirited challenge from Ducati riders Andrea Dovizioso and Andrea Iannone to claim pole position for the Czech Republic Grand Prix.
The reigning MotoGP world champion faced one of his toughest qualifying battles of the season as Pramac Ducati rider Iannone grabbed provisional pole in the dying minutes.
In the end, Marquez dug deep and on his second response he came through to eclipse Iannone's time to secure pole.
During a late flurry of track activity, factory Ducati rider Dovizioso also pipped Iannone into second spot by just 0.012s.
Fresh from signing a new contract with Monster Yamaha this week, Bradley Smith was the top Yamaha rider in fourth position only 0.145s adrift of Marquez's time.
The Brit will start just ahead of Honda's Dani Pedrosa.
The session proved to be a tough one for Yamaha in general with Jorge Lorenzo and Valentino Rossi only able to qualify in sixth and seventh respectively.
Double world campion Lorenzo had been lying in 11th position before his last ditch effort, while team-mate Rossi, who crashed heavily in free practice four, required a precautionary x-ray and medical clearance before he could take part in qualifying.
Having come through Q1, Stefan Bradl claimed eighth spot for LCR Honda ahead of Monster Yamaha's Pol Espargaro, while Aleix Espargaro rounded out the top 10 for Forward Yamaha.
Australia's Broc Parkes will start from 23rd on the grid for Paul Bird Motorsport.
Meanwhile in Moto3, Townsville sensation Jack Miller will start from sixth on the grid after an eventful qualifying session.
Philipp Oetti brought out the red flags following a nasty accident with just 10 minutes remaining. The impact forced the session to be delayed while repairs were made to the catch fencing at the area of impact.
Miller's title rival Alex Marquez will start from pole position with the Aussie just four tenths behind the Spaniard.
MotoGP Czech Republic Grand Prix Qualifying Results
Position | Rider | Team/Bike | Time | Gap |
1 | Marc Marquez | Honda | 1:55.585s | |
2 | Andrea Dovizioso | Ducati | 1:55.714s | +0.129s |
3 | Andrea Iannone | Pramac Ducati | 1:55.726s | +0.141s |
4 | Bradley Smith | Tech 3 Yamaha | 1:55.730s | +0.145s |
5 | Dani Pedrosa | Honda | 1:55.812s | +0.227s |
6 | Jorge Lorenzo | Yamaha | 1:55.815s | +0.230s |
7 | Valentino Rossi | Yamaha | 1:55.821s | +0.236s |
8 | Stefan Bradl | LCR Honda | 1:55.871s | +0.286s |
9 | Pol Espargaro | Tech 3 Yamaha | 1:55.899s | +0.314s |
10 | Aleix Espargaro | Forward Yamaha | 1:56.090s | +0.505s |
11 | Cal Crutchlow | Ducati | 1:56.129s | +0.544s |
12 | Yonny Hernandez | Pramac Ducati | 1:56.622s | +1.037s |
13 | Michele Pirro | Ducati | 1:57.093s | Q1 |
14 | Alvaro Bautista | Gresini Honda | 1:57.428s | Q1 |
15 | Scott Redding | Gresini Honda | 1:57.557s | Q1 |
16 | Hiroshi Aoyama | Aspar Honda | 1:57.984s | Q1 |
17 | Karel Abraham | Cardion Honda | 1:58.100s | Q1 |
18 | Leon Camier | Aspar Honda | 1:58.935s | Q1 |
19 | Danilo Petrucci | Ioda Aprilia | 1:58.863s | Q1 |
20 | Alex de Angelis | Forward Yamaha | 1:58.948s | Q1 |
21 | Hector Barbera | Avintia FTR-Kawasaki | 1:58.968s | Q1 |
22 | Michael Laverty | PBM-Aprilia | 1:58.968s | Q1 |
23 | Broc Parkes | PBM-Aprilia | 1:59.581s | Q1 |
24 | Mike di Meglio | Avintia FTR-Kawasaki | no time | Q1 |