Italy's Francesco Bagnaia won the Indonesia MotoGP on Sunday with a spectacular ride that took him back to the top of the championship standings after rival Jorge Martin crashed out.
Maverick Vinales (Aprilia) came in a close second behind the 26-year-old Ducati star, with Fabio Quartararo (Yamaha) in third at the Mandalika circuit on the Indonesian resort island of Lombok.
Bagnaia made a mesmerising surge from 13th to the top spot after rising to the podium places within the first four laps, refusing to let Pramac's Martin punish him further for a poor performance in practice and qualifying.
It was set to be another dream double weekend for Martin after winning Saturday's sprint and taking the lead from the green light, up from sixth, to dominate the early stages of the race.
But it quickly turned into a nightmare for the 25-year-old Spaniard when he crashed on lap 14 of Sunday's main event, a potentially huge moment in the title race.
Vinales put the pressure on Bagnaia in the late stages after being overtaken, coming to within four-tenths of a second of the pack leader.
But the Italian, known for his phenomenal defence, saw out the race to turn the tables on Martin and open up an 18-point gap with just five race weekends left.
"I think we were deserving a race like this," Bagnaia told reporters.
"(I was) doing the maximum I could then when I saw Martin going, I said to myself 'take care of the tyres' and that was the correct thing. I am very, very happy."
Frenchman Quartararo said he was unhappy with his speed but content with his spot on the podium.
"(I am) frustrated, because I know my speed. We know what we miss and it's really frustrating when we know your capacity," he told reporters.
"To be back in the podium, from Austin to India was a long time, now from India to here was shorter so really happy."
- Bezzecchi heroics -
It was a superlative weekend for Italian Francesco Bezzecchi, the Mooney VR46 rider who surprised by riding just a week after surgery on a broken collarbone.
Starting from ninth on the grid, he produced a heroic ride to fifth behind Fabio Di Giannantonio.
That kept him 63 points behind in the title race, which he still has a slim chance of winning.
He also secured a podium place in the sprint race on Saturday after passing medical tests a day earlier.
The race was marred by a series of crashes in hot and humid conditions, with only 14 riders out of 21 finishing the race.
Marc Marquez's race ended when he slid off the track in lap eight, with the Spaniard shouting to the sky as he left his Honda bike after a dismal weekend in which he also failed to complete Saturday's sprint race.
Marquez will join Gresini Racing for the 2024 season.
Luca Marini, who immediately lost his pole position to Martin from the green light, saw his day go from bad to worse when he went down at turn 10 after being nudged by Brad Binder, sliding off the track.
Martin had already cut Bagnaia's title lead at a rain-affected race in Japan this month when the pair secured a one-two as they fought for this year's crown.
Bagnaia, Martin and Bezzecchi will head to Australia with just five race weekends left to see who can come out on top in one of the closest MotoGP battles for years.
In the Moto2 race, Pedro Acosta took first place to increase his lead in the championship standings, cruising to victory more than two seconds in front of Aron Canet.
Brazil's Diogo Moreira won the Moto3 race for his first win after a last-lap scrap with Daniel Holgado, who closed the gap on second-place Ayumu Sasaki in the overall standings.
jfx/pbt