Mercedes driver Nico Rosberg held off a charging Daniel Ricciardo in an enthralling climax to win the Singapore Grand Prix and regain the championship lead.
Rosberg crucially retained his lead at the start and was on course for a comfortable victory, despite persistent brake issues, before Red Bull rolled the dice by bringing Ricciardo in for a fresh set of supersofts in the closing stages.
The Aussie then proceeded to slash Rosberg's comfortable advantage but agonisingly missed out, finishing just four tenths adrift.
Victory for Rosberg at his 200th Grand Prix sees him move eight points clear of Lewis Hamilton, who finished third, with just six races remaining.
Hamilton secured the final podium slot by reverting to a three-stop strategy, executing the undercut to perfection to edge out Kimi Raikkonen, who had overtaken the Brit when he ran wide.
Sebastian Vettel was voted driver of the day after climbing from the foot of the field to fifth, while Max Verstappen came home sixth after an eventful race following a poor getaway.
Fernando Alonso, who was passed by Verstappen late on, finished an impressive seventh, while Sergio Perez claimed eighth and Daniil Kvyat picked up two points for Toro Rosso in ninth.
Kevin Magnussen finished tenth to register Renault's second points finish of the season, and their first since the Russian Grand Prix in May.
Esteban Gutierrez just missed out, finishing 11th for the fifth time this year, while there were no points for Williams as Felipe Massa wound up 12th and Valtteri Bottas retired.
Carlos Sainz, shown the black and orange flag early due to bodywork damage, took P14 ahead of Jolyon Palmer, Pascal Wehrlein, Marcus Ericsson and Esteban Ocon.
Jenson Button retired at Marina Bay for the third consecutive year with severe brake issues, having damaged his car in the first corner melee.
Button joined Nico Hulkenberg, who was spent spearing into the barriers after a matter of mettes following contact with Carlos Sainz, and Romain Grosjean, who failed to make the start due to a pre-race glitch, on the sidelines.