Marc Marquez struck the first blow in his duel with Jorge Lorenzo to be crowned MotoGP world champion as he set the pace in practice in Valencia.
Repsol Honda rider Marquez and Yamaha Factory Racing's Lorenzo are set for a decisive weekend at the Gran Premio Generali de la Comunitat Valenciana, where one of the two will walk away with the title.
Marquez holds a 13-point lead going into the final race of the season after reigning champion Lorenzo won the last two races to take the battle for the championship to the final day, but Marquez is still favourite to add the MotoGP crown to his Moto2 and 125cc world titles.
The rookie needs just a top-four finish on Sunday to be crowned world champion and he led the way on Friday in one minute 31.220 seconds, just 0.066secs ahead of team-mate Dani Pedrosa and Lorenzo 0.158secs adrift in third after he improved late in the session.
Marquez's effort was not far off Pedrosa's pole record of 1min 30.844secs from last year.
Monster Yamaha Tech 3's Cal Crutchlow ended up fourth overall despite a late crash, from which he escaped unhurt.
The Englishman rides in his last grand prix for the team this weekend before departing for Ducati.
Yamaha Factory Racing's Valentino Rossi is working with crew chief Jeremy Burgess for the last time this weekend and he was fifth fastest on Friday, 0.4secs off the pace.
The top 10 was rounded out by Stefan Bradl (LCR Honda), Alvaro Bautista (GO&FUN Honda Gresini), Bradley Smith (Monster Yamaha Tech 3) and Ducati Team pair Andrea Dovizioso and Nicky Hayden.
Marquez had also set the pace in first practice with a 1min 31.557secs although the two championship contenders were separated by just 0.018secs.
Pedrosa completed a tight top three, finishing just 0.006secs down on Lorenzo.