(Reuters) - Spanish veteran Carlos Sainz won the Dakar Rally in Argentina on Saturday as Peugeot bowed out with their third win in a row.
The victory, ahead of Qatar's two times winner Nasser al-Attiyah in a Toyota, handed Sainz his second title in the grueling endurance race that switched to South America from Africa in 2009 for security reasons.
The double world rally champion previously won in 2010 with Volkswagen.
Peugeot's works team, who won the previous two Dakars with Frenchman Stephane Peterhansel, had already announced their departure after this year's edition.
Austrian Matthias Walkner, last year's runner-up to British team mate Sam Sunderland, won the motorcycle category for his first Dakar triumph and KTM's 17th in a row.
Sainz had led the cars into the final stage with a 46 minute advantage over al-Attiyah and he took no risks after a marathon two weeks from Peru through Bolivia that have seen a spate of retirements and accidents.
He was immediately applauded by his son and namesake, the Renault Formula One driver.
"Today I am probably the proudest son of his father in the whole world. Winner of the toughest @dakar ever done in South America at 55 years of age (good number) and he did it in his own way," said the driver, who races with the number 55.
Sainz finished ninth on the last stage, beating al-Attiyah by 43 minutes.
The third place on the podium went to South African Giniel de Villiers in a Toyota, ahead of Peterhansel.
"We managed to do it," said Sainz. "They (Peugeot) have already won two times, but I think I deserved this victory because we have put lot of effort into this car.
"I had ups and downs, but I always tried my best. Especially this rally, it has been so, so hard," added the Spaniard, who left open the question of whether he would be back next year without Peugeot.
"At the beginning I said we'll take it a little bit easier, but Peugeot said we'd have to go flat out. I raced a couple of days and pushed really hard, but then the race was a case of not making mistakes."
Russian Eduard Nikolaev won the truck category in a Kamaz for the second year in a row and third time in total. Chilean Ignacio Casale won the quadbike title for the second time.
(Reporting by Alan Baldwin in London, editing by Ken Ferris and Toby Davis)