Disappointing start
The Australian rider has admitted in recent weeks that he has been in the trenches following a disappointing start to the year, but he was certainly gritting his teeth and digging in.
Quartararo was only able to be a tenth quicker than the Ducati man with the gap at three quarters of a second with seven laps completed.
Ducati 1-2
There were huge grins on Ducati's three wise men of Dall'Igna, Tardozzi and Ciabatti when Bagnaia came across the line in second too.
A first 1-2 for Ducati in just under three years and the first they have ever had at Jerez.
Morbidelli joins the party
There was huge delight for Morbidelli in third as well - another man to silence some doubters.
The Italian thumped his chest with joy and declared it "as good as a victory" in Parc Ferme afterwards.
First in 15 years
In the end, the SpanishGP was a thriller with a nervy final few laps, as the number 43 held on and, for the first time since the 2016 Dutch Grand Prix, Miller took the chequered flag of a MotoGP race. It was also Ducati's first in Jerez for 15 years.
Quartararo eventually limped home in thirteenth and, as a result, surrendered the MotoGP World Championship lead to Bagnaia.