Pascal Wehrlein takes his second Formula E pole position by just 0.058s in Mexico.
The Porsche driver was quickest in a mixed-up qualifying session after heading out in Group 2.
He continued to set the pace during Super Pole, sliding the car around the final corner to take the chequered flag and knock Oliver Rowland off the top spot.
Qualifying started with chaos as those in Group 1 battled for position on track. Everyone left it late to head out, with the driver at the back of the group only crossing the line to start his quali run a second before the chequered flag fell.
They managed to separate out on their qualifying runs and Antonio Felix Da Costa set the quickest time, but it wouldn’t be close to competitive by the time the next group stage came to an end.
Group 2 was the quickest group on track, with five of the six Super Pole qualifiers coming from the second group on track. Wehrlein took the top spot with a 1m23.505s lap, while Rowland finished just 0.303s back.
Jake Dennis and Jean-Eric Vergne ended group qualifying third and fourth ahead of Maximilian Guenther, who was the only driver from Group 3 to make it through to Super Pole. Edoardo Morara completed the top 6.
The positions would not change in Super Pole.
Wehrlein was not able to match the time set in the group stages but still finished ahead of Rowland by just six tenths of a second.
Dennis took third ahead of Vergne and Guenther, who had a scruffy run.
Mortara ran wide on his Super Pole lap and ended the session three seconds off the pace. Alexander Sims narrowly missed out on a spot in Super Pole, finishing seventh overall ahead of Lucas Di Grassi.
Sergio Sette Camara was the only driver from the final qualifying group to make it into the top 10, qualifying P9, but will start from the back of the grid due to a grid penalty handed to both Dragon drivers.
Rene Rast rounded out the top 10 ahead of Andre Lotterer and group 1 pace setter Antonio Felix Da Costa.
Championship leader Robin Frijns qualified P22 after a lock up on his qualifying run, but will be promoted two positions due to the Dragon penalties.