Dani Pedrosa closed in further on MotoGP title leader Jorge Lorenzo by claiming his sixth win of the year in a wet, wild and shortened Malaysian Grand Prix at Sepang.
The race began on a soaking track after an earlier thunderstorm and with intermittent rain still falling. That clearly meant full wet settings, but also a choice to be made between the hard and soft specification wet tyres.
Many of the leading riders had completed only a handful of wet laps during practice and some none at all.
The Yamaha riders all went for the soft rear - including Lorenzo and fellow front row starter Andrea Dovizioso - with second on the grid Pedrosa electing for the harder rear, as did the other RCV competitors and factory Ducati riders.
Lorenzo and Pedrosa soon broke away from the pursuing pack, pushing six seconds ahead of next best Casey Stoner by the halfway stage of the 20 laps.
Pedrosa made his winning pass into the final chicane at the end of lap 10 and eased away from the Yamaha rider, just as the rain began to intensify.
Lorenzo, who began signalling for the race to be stopped, was also being reeled in by Stoner – although the Yamaha star was still two seconds clear as he headed for the final turn on lap 14 of 20...
It was then that Lorenzo suffered a big front-end moment, the Spaniard just keeping control of his M1 but with Stoner right on his rear wheel as he exited the turn to be greeted by red flags at the finish line.
Lorenzo later explained that the tread on his soft rear tyre had been worn down in the 'not so wet' opening laps.
After the formality of waiting to see if conditions would improve enough for a restart, the results were declared from the end of lap 13, meaning a 3.7s victory - his first in the wet - for Pedrosa over Lorenzo, with Stoner +7.4s in third.
Pedrosa, who has won five of the last six races, is now 23 points from Lorenzo with two rounds to go.
Behind the podium finishers, Ducati riders Nicky Hayden and Valentino Rossi were credited with fourth and fifth.
Hayden improved steadily from eighth on the opening lap, while Rossi - who had shot from eleventh to fifth at the start - suddenly dropped to ninth on lap nine. The Italian, helped by the mistakes of others, then returned to fifth by the stoppage.