https://www.youtube.com/watch?v=J7Nf5P2EKGY
LE MANS: After a dominating performance, the No. 5 Toyota losses power with one lap remaining as the No. 2 Porsche takes the lead and wins the 24 Hours of Le Mans.
3 minutes and 20 seconds to go...
Babelfish
They did lead for the majority of the race. Porsche passed them because leading doesn't mean being a thousand miles in front. You can lead by a one second margin, you'll still be un front. The Audi was 3rd because the Toyota did its last lap in over 8 minutes. Rules say your last lap shouldn't exceed 6 minutes. Dont know why but there must be some good reason. In consequence the Toyota was not classified.