A 1957 Ferrari became the second most expensive car sold at a public auction in Artcurial's Salon Retromobile sale in Paris this week.
The Scaglietti-bodied 335 S, of which Ferrari produced just four units, fetched €32,075,000 in the auction.
The list of drivers who competed with the car includes Maurice Trintignant, Peter Collins, Stirling Moss and Wolfgang von Trips.
The car had been bought by car collector Pierre Bardinon in 1970.
Its sale means nine of the top 10 most expensive cars in the world are Ferraris, according to the Italian manufacturer.
The most expensive car to be auctioned so far is a Ferrari 250 GTO Berlinetta, sold for over $38m in 2014.