Sandro Cortese produced a stunning late surge to deprive Danny Kent of a maiden Moto3 pole as heavy rain produced several shocks in a dramatic qualifying session at the Sachsenring.
Cortese and his main championship rival Maverick Vinales, who between them have claimed six of the opening seven poles in 2012, found themselves down in 17th and 27th positions respectively with five minutes of the session to run.
Though conditions seemed to worsen in the final minutes, Cortese rallied and set about coming up the order. With three minutes to run he moved to fifth; with one minute, into top spot. It is his fourth pole of the season.
His late spurt was made all the better by Vinales' ongoing struggles, the Avintia FTR-Honda man and championship leader ending the session in 24th.
Cortese's gains cemented a one-two for Ajo KTM, with Kent - on provisional pole for much of the session - demoted into second.
Honda occupied the next three spots courtesy of Adrian Martin (Laglisse), Jack Miller (Caretta), and Jakub Kornfeil (Ongetta FTR), all of whom had held top spot at one stage during the 40-minute session.
Brad Binder (RW Kalex-KTM) edged out Louis Rossi (Team Germany FTR-Honda), Jonas Folger (Ioda) and team-mate Luis Salom in the race for sixth.