Pascal Wehrlein has secured the Formula E World Championship after finishing in second place behind Oliver Rowland, who won Sunday’s London E-Prix.

In what was an epic chess match between Wehrlein, Nick Cassidy, and Mitch Evans, it was an Evans blunder—missing his second Attack Mode—that allowed Wehrlein to swoop in and take the World Championship away from the Kiwi driver.

It all started with Evans passing Maximilian Gunther at the start of the race, which saw a Jaguar one-two in the early stages of the season.

A safety car was called at the end of Lap 2 when Jake Dennis collided with Edoardo Mortara. On the restart, Evans helped Cassidy take his first Attack Mode by letting him through once he had taken it.

This sparked some confusion among the Jaguar team as Evans wanted to know when Cassidy would return the favor, but that didn’t seem to happen.

Cassidy then took his second Attack Mode and dropped into third place. Then there was an intense battle between Evans and Wehrlein, as both drivers didn’t want to lose track position by taking Attack Mode.

Evans was three percent worse off than Wehrlein by staying in the lead of the race for as long as he did.

When the pair went to take their first Attack Mode, they were denied by the safety car, which was brought out to recover the stricken McLaren of Sam Bird, who collided with Jehan Daruvala at the Turn 5, 6, and 7 chicane.

On the restart, they both took their first Attack Mode, but Oliver Rowland moved in front of both Wehrlein and Evans during the first Attack Mode, which they took under the safety car and didn’t count.

Evans looked set to win the Championship as Rowland was holding up Wehrlein, but when Evans went to take his second and final Attack Mode, the Jaguar driver missed it.

Wehrlein completed his second Attack Mode and then passed Evans when he completed his second Attack Mode.

Evans wouldn’t have made the finish if he hadn’t completed his Attack Mode, so he had to back off and ensure he finished the race after his Attack Mode time had elapsed.

Nick Cassidy was unable to capitalize as he was taken out of the race a few laps earlier when he was hit from behind by Antonio Felix Da Costa while making a move on Oliver Rowland.

The contact gave Cassidy a puncture, causing him to slow down on the final corner, and then he was hit by Maximilian Gunther, which ultimately ended his race.

With Evans slowing down, Wehrlein could just follow Oliver Rowland and claim his first World Championship in Formula E.

Rowland took advantage of the late Attack Modes by Evans and Wehrlein and was able to undercut them and secure the victory.

Sebastien Buemi ended the race in fourth, with Da Costa coming home in fifth. The result means that Jaguar won the teams’ championship, but Porsche won the Manufacturers’ trophy.

Jean-Eric Vergne was sixth and Nico Muller was seventh. Robin Frijns came home in eighth.

Stoffel Vandoorne finished in ninth place and Lucas Di Grassi in tenth.