Jorge Martin will start the San Marino and Rimini Riviera MotoGP in pole position after smashing the lap record at Misano Adriatico in Saturday's qualifying.
Pramac rider Martin blazed round the Italian circuit in one minute, 30.390 seconds, chopping almost half a second off the record set by Marco Bezzecchi on Friday.
The 25-year-old bested Bezzecchi's time twice over the course of qualifying, demonstrating that he can cut into the 50-point gap separating him from championship leader Francesco Bagnaia.
However reigning world champion Bagnaia finished in a hugely impressive third place, 0.436sec off the pace despite carrying injuries from last weekend's horror crash at the Catalunya MotoGP.
Bagnaia flew off his bike at high speed at Montmelo and was then run over by Brad Binder, but has been cleared to race on Sunday and looks good to collect points at his home track.
"I'm very happy. I wasn't guaranteed to be like this but for now the most important thing is to be here and to be in the front row is a very good feeling for me," he said to Sky Sport in Italy.
Bagnaia said that he would take part in Saturday's Sprint race which takes place at 1300 GMT and gives 12 points to the winner.
"Let's see, I'm behind my main rivals so it will be interesting. I'm not sure how I am physically but I should have 13 laps in me," he added.
Bagnaia will be joined on the front row by countryman Bezzecchi who was second fastest, 0.397sec behind Martin despite also being injured on Montmelo.
The VR46 rider suffered a hand injury in the multi-bike pile up which preceded Bagnaia's accident.
"I'm happy because it would have been very hard to give any more today. It was hard but it was worth it," said Bezzecchi to Sky.
"Let's hope I can stay with it over the course of all the laps. It won't be easy but I'll give it a go."