France's Johann Zarco dramatically snatched pole on Saturday for MotoGP's season-opening race in Qatar setting a track lap record time of 1 min 53.680 sec.
Zarco, who had crashed earlier in the evening on a practice lap in windy conditions in Doha, smashed the old record which had stood for 10 years at the very end of the qualifying session.
"I am very happy, it's the best way to start the season," said Zarco.
"To beat the lap record makes me really happy. Tomorrow is the main thing and I will try to be on the podium."
The Tech3 Yamaha rider was rookie of the year in his debut season in 2017 and has set himself a target of finishing in the top three this season.
The previous lap record of 1 min 53.927 sec was set by Spain's Jorge Lorenzo, also in qualifying, back in 2008.
Zarco will be joined on the front row of the grid for Sunday's race by world champion Marc Marquez on a Honda and Ducati's Danilo Petrucci.
Marquez, who is aiming for aiming for a third successive elite class world championship in 2018, has struggled in pre-season testing but eventually posted a time of 1 min 53.882 sec to take second spot.
"I am very happy, my target was to be on the front row," said the Spaniard.
Also there will be Italy's Petrucci, who qualified with a time of 1 min 53.887 sec.
"It was very, very difficult, a lot of wind and the track today was very dirty," he said.
This year's championship promises to be the closest for many seasons.
Last year's runner-up, Italy's Andrea Dovizioso, held pole position for much of qualifying and had clocked the best practice times.
But he will start in fifth place on the grid after finishing with a qualifying time of 1 min 54.074 sec.
Nine-time world champion Valentino Rossi will start in the third row after finishing eighth.
His Yamaha teammate Maverick Vinales, who finished third in the championship last season, will start back in 12th position, after qualifying in a time more than a second behind Zarco.
© 2018 AFP