Maximo Quiles produced a remarkable comeback as he edged out Valentin Perrone to seal the Hungarian Moto3 victory via a photo finish.
The Spanish rider recovered after losing the lead of the race to fellow rookie Perrone, as the pair were separated by just 0.018s over the line.
Quiles made the best start from pole position and held his lead down into the first two corners.
The rest of the front row also made a good start, with Perrone and Angel Piqueras holding their positions in second and third, before David Munoz was forced to sit up going into Turn 2.
Further down the order, championship leader Jose Antonio Rueda was unable to make progress on the start and was overtaken by Guido Pini as he settled into eighth place.
On Lap 3, Quiles ran wide at the first chicane to allow Perrone to take the lead, but the Spaniard responded straight away to regain the position.
Behind the lead pair, Munoz seemingly recovered from his second corner blunder to move ahead of Angel Piqueras into the podium positions, before passing Perrone to take second.
Piqueras didn’t waste much time in making his move past the Argentine, as the Spaniard followed Munoz’s lead to steal the last podium spot.
Down into Turn 9. Piqueras regained his place in front of Munoz as the rider sitting second in the championship moved into second in the race.
The pair then relinquished their positions back to Perrone down the straight, but a small error for the Argentinian in Turn 14 allowed Piqueras back into second place.
Munoz also returned to the rostrum by overtaking Perrone, and set the fastest lap of the race in his bid to re-pass Piqueras.
As Quiles looked to up the pace at the front, he made an error at Turn 15 to allow the three riders behind to overtake, with Perrone taking the lead after receiving some slipstream from Munoz down the straight.
Guido Pini also made a slight error behind Quiles, which allowed Rueda to take fifth and close in on the leading group.
As the Italian faded from the leading group, Munoz struck once more on Piqueras to re-take second place, though Perrone continued to hold firm at the front of the field.
Quiles also showed his overtaking prowess by pulling a move on Piqueras to put himself back into the podium positions, and crucially found a rider between himself and championship leader Rueda.
The young Spaniard found his rhythm to put another overtake on Munoz for second, as he attempted to close the gap to Perrone in the lead.
Going onto the final lap, it was a head-to-head between Perrone and Quiles for the victory, as the young Spaniard looked to make his move at the opening few corners, but the Argentine’s sweeping lines made him hold position.
At Turn 5, Quiles made his move on Perrone, and this time was able to make it stick as he attempted to lead for the remainder of the final lap.
In the final chicane, the Argentinian set up a last-ditch attempt to take the victory, levelling Quiles to move back in front.
However, Quiles responded in the last corner and the riders drew level as they raced to the finish line down the main straight, making slight contact before the flag.
It was Quiles who crossed the line first to record his second victory of the campaign by just 0.018s.
Perrone was forced to settle for second despite a valiant fight back, while Munoz completed the podium in third.
Piqueras narrowly missed out on a visit to the rostrum in fourth as he slightly closed the gap on championship leader Rueda, who took fifth.
Adrian Fernandez led Leopard team-mate David Almansa over the line as the pair took sixth and seventh respectively, with Joel Kelso just behind in eighth.
Alvaro Carpe completed the race in ninth as Jacob Roulstone rounded out the top 10.
Dennis Foggia spent the majority of the race on his own as crossed the line in 11th, two seconds clear of Nicola Carraro in 12th.
Casey O’Gorman ended his final stand-in race for the Sic58 Squadra in 13th, while both Ryusei Yamanaka and Marcos Uriarte were forced to visit the gravel trap to avoid a crashing Scott Ogden, but came home to complete the points finishers.
Discussion about this post