Gandesa - World champion Sebastien Ogier won the Rally of Spain on Sunday after coming from behind on the third and final day.
The French driver entered the last leg - run on gravel after two days of asphalt - in fourth place, 46.5 seconds behind Volkswagen Polo team-mate and pacesetter Jari-Matti Latvala after being slowed down by a damaged wheel on Saturday.
But Ogier ripped through the final six stages to overtake the frontrunners and beat Latvala by 32.9 seconds.
"It was a fantastic day," Ogier said. "We pushed really hard. We didn't know if it would be possible because we knew dust would be a problem but we took risks this morning."
It was Ogier's eighth win in 12 rounds this season. He clinched the world title in France earlier this month.
Local favourite Dani Sordo, who entered the day less than two seconds behind Latvala in second place, broke the suspension on his Citroen during the second-to-last stage.
The last event of the season is in Wales from November 13-17.