Jorge Lorenzo said the perfect farewell to Yamaha as the Ducati-bound rider romped to the victory at Valencia on Sunday.
Lorenzo made a flying start from pole position as his main rivals, Valentino Rossi and Marc Marquez, had to fight their way through traffic.
Running third and fourth after five laps their charge was halted as they came across Andrea Iannone.
Several times Rossi made a move on the Ducati rider only for Iannone to use his GP16's added grunt to retake him down the straights.
But the fight for second place was by no means done with Rossi attacking Iannone, Iannone returning the favour and Rossi fighting back only to lose out to Iannone a corner later.
Marquez joined in the niggle as he stuck his front tyre up the inside of Rossi while Maverick Vinales hung onto the rear of the podium battle.
All the while Lorenzo galloped away to lead by 4.7 seconds with 10 to go.
— Jorge Lorenzo (@lorenzo99) November 13, 2016
Marquez took third off Rossi and overtook Iannone corners later to run P2. With clean air ahead, the 2016 MotoGP Champion was able to put some breathing room between himself and Rossi.
Iannone used his top speed to blitz Rossi down the straight, taking third with six laps remaining.
At the very front, Marquez set about hunting down Lorenzo but ran out of laps.
The Yamaha rider, in his last race for the team, took the chequered flag by 1.185 seconds over Marquez.
Iannone held on to complete the podium with Rossi, runner-up in the championship, in fourth place.
Vinales was fifth ahead of Pol Espargaro, who made a late pass on Andrea Dovizioso with Aleix Espargaro eighth.
Bradley Smith was a lonely ninth with Alvaro Bautista completing the top ten.
Dani Pedrosa crashed out of seventh place on lap 6 as he went down at Turn 2 while Cal Crutchlow hit the dirt at Turn 4.
Yonny Hernandez went down early in the race while a technical problem sent Mika Kallio into the pits as he continued to help KTM prepare for the 2017 MotoGP season.
1 Jorge LORENZO Movistar Yamaha MotoGP 45'54.228
2 Marc MARQUEZ Repsol Honda Team 1.185
3 Andrea IANNONE Ducati Team 6.603
4 Valentino ROSSI Movistar Yamaha MotoGP 7.668
5 Maverick VIÑALES Team SUZUKI ECSTAR 10.610
6 Pol ESPARGARO Monster Yamaha Tech 3 18.378
7 Andrea DOVIZIOSO Ducati Team 18.417
8 Aleix ESPARGARO Team SUZUKI ECSTAR 18.678
9 Bradley SMITH Monster Yamaha Tech 3 25.993
10 Alvaro BAUTISTA Aprilia Racing Team Gresini 35.065
11 Hector BARBERA Avintia Racing 36.425
12 Danilo PETRUCCI OCTO Pramac Yakhnich 42.415
13 Stefan BRADL Aprilia Racing Team Gresini 49.823
14 Scott REDDING OCTO Pramac Yakhnich 52.035
15 Jack MILLER Estrella Galicia 0,0 Marc VDS 55.625
16 Eugene LAVERTY Pull & Bear Aspar Team 58.254
17 Tito RABAT Estrella Galicia 0,0 Marc VDS 58.555
18 Loris BAZ Avintia Racing 1'06.164
Mika KALLIO Red Bull KTM Factory Racing 11 Laps
Cal CRUTCHLOW LCR Honda 14 Laps
Dani PEDROSA Repsol Honda Team 24 Laps
Yonny HERNANDEZ Pull & Bear Aspar Team 26 Laps