Lucas di Grassi claimed his first win of the 2018/19 FIA Formula E season in Saturday's Mexico City E-Prix after diving past Pascal Wehrlein with metres to spare to snatch victory away.

Having sat in third place for the majority of the race, di Grassi was able to pass Oliver Rowland with five minutes to spare before launching an attack on pole-sitter Wehrlein in the final few laps.

In only his third Formula E race, Wehrlein managed to stay in control for the majority of the 46 laps, albeit after cutting a corner following a late attack from di Grassi.

Wehrlein was forced to slow down dramatically exiting the final corner after hitting 0 percent energy, allowing di Grassi to duke to the right-hand side of the Mahindra car and take victory by just two-tenths of a second.

It marked Season 3 champion di Grassi's first Formula E win of the season, as well as opening Audi's account for the new campaign.

Wehrlein was hit with a five-second time penalty for cutting the corner and not giving up the position to di Grassi, leaving him down in sixth at the end of a dramatic race at the Autodromo Hermanos Rodriguez.

The race was red flagged after Nelson Piquet Jr.'s car was left with significant damage following a crash with Jean-Eric Vergne and Alexander Sims. While Piquet was unharmed, the debris left across the track forced the race to be suspended for half an hour.

Once it resumed, Wehrlein led the closely-knit quarter of Rowland, di Grassi, Sebastien Buemi and Antonio Felix da Costa, with all five drivers looking capable of winning the race entering the final few laps.

An error taking Attack Mode cost Rowland a place to di Grassi before the Briton ran out of power on the final lap, with Nissan teammate Buemi suffering a similar fate that left both drivers out of the points.

This allowed da Costa to take P2 for BMW after Wehrlein's penalty, while Edoardo Mortara finished third for Venturi.

Jerome d'Ambrosio recovered from a difficult qualifying session to take fourth for Mahindra ahead of Andre Lotterer, with the penalised Wehrlein finishing sixth overall.

Mitch Evans finished seventh despite a run-in with Vergne, who ended the race a lowly 13th after a number of incidents.

Felipe Massa picked up his first Formula E points in P8 for Venturi, while Sam Bird and Daniel Abt rounded out the points-paying positions.