Sebastian Vettel has claimed pole position for the German Grand Prix in a dramatic qualifying session that saw Lewis Hamilton forced out of the session early.
Vettel's final lap, a new track record, secured him pole position ahead of Valtteri Bottas and his Ferrari team-mate Kimi Raikkonen.
A traffic jam at the end of the session compromised the start to Bottas' final flying lap as Kevin Magnussen backed off to create space for his own final effort.
Raikkonen dropped a wheel at the exit of the final turn to set the second fastest time, only to be demoted to third when Bottas flashed across the line seconds later.
The Mercedes driver's joy was short lived as Vettel banked a 1:11.212s to claim pole position.
Max Verstappen was fifth fastest, the sole Red Bull representative in the ten, ahead of the two Haas drivers, Magnussen in front of Romain Grosjean.
The top 10 was rounded out by Nico Hulkenberg, Carloz Sainz, Charles Leclerc, and Sergio Perez.
Hamilton had a ragged opening to the session, twice leaving the circuit in pursuit of his first timed lap before finding his car stuck in fourth gear at the end of Qualifying 1.
Initially trying to limp the car back, the loss of hydraulic pressure meant Hamilton was told to switch the car off, the Englishman initially trying to push the car back to the pits from the Turn 6 hairpin halfway around the lap.
Unsurprisingly, he was forced to admit defeat, and despite having set a time easily good enough to progress the dejected Mercedes driver was forced out of the session and will start 14th.
A single flying lap for Daniel Ricciardo was the sum of the Australian's participation in qualifying.
Resigned to starting last on the grid owing to his power unit penalties, the Red Bull driver needed to do nothing more than record a time to confirm his participation in Sunday's race.
Ricciardo's lap proved enough to progress through to the second part of the three-part but he took no further part in qualifying to end up 15th.
A spin for Marcus Ericsson left the Sauber driver lucky to continue in Qualifying 2 after finding himself in the gravel at the Sachskurve.
Though he was able to extract himself from the gravel it deposited a significant amount of it on the racing line, and ultimtely drew the red flag to allow marshals to sweep the circuit clean with seven minutes left in session.
A flurry of late activity saw Fernando Alonso eliminated in 11th, while Sergey Sirotkin, and Ericsson were also eliminated.
During Qualifying 1, Stoffel Vandoorne reported a problem with the gear shifting in his McLaren, the Belgian limping around the lap before returning to the pit lane.
Though he returned to the circuit, Vandoorne ended the session slowest of all.
He was joined on the sidelines by Esteban Ocon, both Pierre Gasly and Brendon Hartley for Toro Rosso, and Lance Stroll's Williams.
Sunday's German Grand Prix begins at 2310 AEST.
Result: German Formula 1 Grand Prix, Qualifying
Pos | Driver | Team | Time | Diff |
1 | Sebastian Vettel | Ferrari | 1:11.212 | |
2 | Valtteri Bottas | Mercedes | 1:11.416 | +0.204 |
3 | Kimi Raikkonen | Ferrari | 1:11.547 | +0.335 |
4 | Max Verstappen | Red Bull Renault | 1:11.822 | +0.610 |
5 | Kevin Magnussen | Haas Ferrari | 1:12.200 | +0.988 |
6 | Romain Grosjean | Haas Ferrari | 1:12.544 | +1.332 |
7 | Nico Hulkenberg | Renault | 1:12.560 | +1.348 |
8 | Carlos Sainz | Renault | 1:12.692 | +1.480 |
9 | Charles Leclerc | Sauber Ferrari | 1:12.717 | +1.505 |
10 | Sergio Perez | Force India Mercedes | 1:12.774 | +1.562 |
11 | Fernando Alonso | McLaren Renault | 1:13.657 | +2.445 |
12 | Sergey Sirotkin | Williams Mercedes | 1:13.702 | +2.490 |
13 | Marcus Ericsson | Sauber Ferrari | 1:13.736 | +2.524 |
14 | Lewis Hamilton | Mercedes | ||
15 | Daniel Ricciardo | Red Bull Renault | ||
16 | Esteban Ocon | Force India Mercedes | 1:13.720 | +2.508 |
17 | Pierre Gasly | Toro Rosso Honda | 1:13.749 | +2.537 |
18 | Brendon Hartley | Toro Rosso Honda | 1:14.045 | +2.833 |
19 | Lance Stroll | Williams Mercedes | 1:14.206 | +2.994 |
20 | Stoffel Vandoorne | McLaren Renault | 1:14.401 | +3.189 |