Ferrari junior Robert Shwartzman grabbed the second pole position of his Formula 3 European Championship career with a last-ditch effort at the Nurburgring.
The Prema Powerteam-run St Petersburg teenager was third as the chequered flag fell, but his final lap enabled Shwartzman to steal the top spot away from team-mate Mick Schumacher by a mere 0.047 seconds.
The pole fight boiled down to a battle between this duo and championship leader Dan Ticktum, and it was Motopark's Red Bull junior at the top of the times as the session moved into its closing stages.
But first Schumacher managed to beat Ticktum's time, and then he in turn was pipped by Shwartzman at the last gasp.
Enaam Ahmed continued his strong season by taking fourth in his Hitech GP car to complete an all-British second row.
The third rank is all-Estonian, with Prema's Ralf Aron heading Motopark's recent form man Juri Vips, who sits right behind Ticktum in the championship standings.
Alex Palou took seventh for Hitech, while Marcus Armstrong, the leading Prema driver in the title chase, had a miserable day.
First the New Zealand Ferrari protege missed much of free practice with a mechanical problem, and then it was discovered that he required a change of his Mercedes engine, thereby incurring a 10-place grid penalty for Saturday's race.
A last-lap effort moved Armstrong up to eighth on the grid, but his grid penalty will dump him to near the back of the 22-car field.
Jehan Daruvala was the top representative from Carlin, and moves up to inherit Armstrong's eighth place, ahead of Motopark's Marino Sato.
Rounding out the top 10 on the grid is Guan Yu Zhou - normally a contender for pole, the third of the Prema/Ferrari prospects only improved on the final lap to move himself up to the fifth row.
Race one qualifying
|1||Robert Shwartzman||PREMA Theodore Racing||Dallara/Mercedes||1m20.637s||-|
|2||Mick Schumacher||PREMA Theodore Racing||Dallara/Mercedes||1m20.684s||0.047s|
|4||Enaam Ahmed||Hitech Bullfrog GP||Dallara/Mercedes||1m20.890s||0.253s|
|5||Ralf Aron||PREMA Theodore Racing||Dallara/Mercedes||1m20.938s||0.301s|
|7||Alex Palou||Hitech Bullfrog GP||Dallara/Mercedes||1m21.008s||0.371s|
|8||Marcus Armstrong||PREMA Theodore Racing||Dallara/Mercedes||1m21.024s||0.387s|
|11||Guanyu Zhou||PREMA Theodore Racing||Dallara/Mercedes||1m21.137s||0.500s|
|15||Artem Petrov||Van Amersfoort Racing||Dallara/Mercedes||1m21.324s||0.687s|
|18||Sophia Florsch||Van Amersfoort Racing||Dallara/Mercedes||1m21.497s||0.860s|
|20||Ben Hingeley||Hitech Bullfrog GP||Dallara/Mercedes||1m21.595s||0.958s|
|21||Keyvan Andres||Van Amersfoort Racing||Dallara/Mercedes||1m21.662s||1.025s|