Baku, November 2, AZERTAC
The world championship may have gone to his Mercedes teammate Lewis Hamilton, but Nico Rosberg at least had the satisfaction of marking F1's memorable return to Mexico with a pole to checkered flag win Sunday.
Hamilton finished second, with Valtteri Bottas completing the podium for Williams.
Rosberg, who dominated practice and qualifying, held off Hamilton after a Sebastian Vettel crash saw the safety car deployed on lap 53 of 71 at the Autodromo Hermanos Rodriguez.
A late mistake in a similar situation in the previous round last Sunday had seen Hamilton win the United States Grand Prix to wrap up his second straight title.
But Rosberg was clearly determined to avoid a repetition and it was errors by Hamilton which left him unable to claim his fourth straight win.
It has also cost him the chance to equal the record wins for an F1 season of 13, with 10 under his belt but only two rounds to go in 2015 in Brazil and Abu Dhabi.
The Red Bull pair of Daniil Kyvat and Daniel Ricciardo drove fine races for fourth and fifth, but the biggest cheers for a capacity and fervent crowd were reserved for home hero Sergio Perez in eighth for Force India.