Watch VideoPlay Video
Red Bull driver Sebastian Vettel claimed pole position for his home race - the German Grand Prix at the famous Hockenheimring.
Defending champion Jenson Button was forced to settle for fifth-fastest with a best lap of one minute,14.427.
Fernando Alonso lapped his Ferrari F10 in a fast lap of one minute, 13.793 to grab provisional pole.
But Vettel was able to spoil the party in the dying seconds. The German saved his best until last and grabbed the fastest time - and his place at the head of the starting grid - with a lap of one minute, 13.791 to better Alonso by just two tenths of a second while his team mate Felipe Massa came home third.
Sebastian Vettel said, "Obviously, I got the call from the team to say that I did it but when I got the call that we did it by two-thousandths of a second I was, you know, even more released (relieved). It was pretty close I guessed - but I didn't guess it was that close. It was an exciting session and also for the people. It is good to be here, a lot of people on Friday already and yesterday and today as well. So, hopefully there will be more cheering for us tomorrow."