Nasser Al-Attiyah won his fifth stage on the Dakar Rally on Thursday when he finished nearly two minutes ahead of leader Stephane Peterhansel but still trails the Frenchman with one day to go.
Peterhansel will start the final stage, a 225-kilometre run across chains of dunes to Jeddah, leading by a quarter of an hour as he seeks to add to his record 13 victories in the race.
"We lost just a few minutes, it's nothing," said Peterhansel at the finish. "There's only one day to go... It's time to cross fingers and hope that we will be in first place at the end".
The longest stage of the race, a 464-kilometre drive across sand dunes from Al Ula to Yanbu brought a day of changing fortunes.
Peterhansel led with an advantage of more than three minutes over Al-Attiyah after 306 kilometres but suffered two punctures.
Khalid Al-Qassimi took the lead after 362 kilometres at which point Al-Attiyah had closed to within seven seconds of Peterhansel.
Peterhansel regained the lead and was 38 seconds ahead of the chasing Al-Attiyah 30 kilometres from the finish but could not hold the lead.
"Today it was really complicated, like the organisers said beforehand, like we expected it to be, because the navigation was not easy, but we got two punctures, especially the last one that was in the dunes," the Frenchman said.
"They were really strange dunes," he added. "In the middle of the dunes there were some rocks just after the crest of the dunes, so it was not easy to anticipate or to see. The last one was a very big impact and we had another puncture. We were a little bit afraid that also some part of the frame was broken, but at the end it was OK."
Al-Attiyah, driving a Toyota, eventually crossed the line in 4hr 34min 24sec, 1min 56sec ahead of Peterhansel in his Mini.
"It really wasn't easy," said the Qatari, who also won the prologue.
"I am really happy to be here on day 11 without any technical problems with the car," he added. "We have really had a lot of punctures. I've had more than 16 tyres punctured. I am sure that 16 tyres times one minute and a half each change is a lot."
"We'll see what happens tomorrow," he said.
Spaniard Carlos Sainz in another Mini was a further 30 seconds back in third. Saudi Yazeed Al-Rajhi was fourth in a Toyota.
Briton Sam Sunderland, 2017 Dakar champion, won the motorbike category, the KTM rider timing 4hr 35min 21 sec for the stage, maintaining a comfortable 2:40 lead over the Husqvarna ridden by Pablo Quintanilla.
"I knew that today was one of my last chances to try to win and I gave my all, all day," said Sunderland.
"We still have one day to go and many things can happen on one stage."
Argentina's Kevin Benavides increased his lead in the overall standings over American Honda teammate and defending champion Ricky Brabec to 7:13, with Sunderland currently second, at 4:12.
"We did a really good job with Ricky," said Benavides, who broke his nose as he shattered his helmet jumping off a dune on stage five.
"It was a really hard day, very long with plenty of navigation, a lot of sand and dunes."
Benavides added: "With Ricky we pushed together on the dunes... Tomorrow we will push like every day, no other strategy than that.
"There are no team orders and yes, the race is still open."
There was drama on the stage as Spain's Joan Barreda, a two-stage winner also on a Honda, exited the race after missing a refuelling stop and subsequently running out of petrol.
Dakar Rally results after Thursday's 11th and penultimate stage:
1. Nasser Al-Attiyah/Matthieu Baumel (QAT/FRA/Toyota) 4hrs 34min 24sec, 2. Stephane Peterhansel/Edouard Boulanger (FRA/FRA/Mini) at 1min 56sec, 3. Carlos Sainz/Lucas Cruz (ESP/ESP/Mini) 2:26, 4. Yazeed Al Rajhi/Dirk Von Zitzewitz (KSA/GER/Toyota) 4:02, 5. Cyril Despres/Michael Horn (FRA/SUI/Peugeot) 8:31, 6. Wei Han/Min Liao (CHN/CHN/Smg) 10:56, 7. Giniel De Villiers/Alex Haro Bravo (RSA/ESP/Toyota) 13:30, 8. Vladimir Vasilyev/Dmitro Tsyro (RUS/UKR/Mini) 13:58, 9. Sheikh Khalid Al Qassimi/Xavier Panseri (UAE/FRA/Peugeot) 14:30, 10. Yasir Seaidan/Alexey Kuzmich (KSA/RUS/Century) 14:51.
1. Stephane Peterhansel/Edouard Boulanger (FRA/FRA/Mini) 42hrs 9min 26sec, 2. Nasser Al-Attiyah/Matthieu Baumel (QAT/FRA/Toyota) at 15min 5sec, 3. Carlos Sainz/Lucas Cruz (ESP/ESP/Mini) at 1hr 04min 14sec, 4. Jakub Przygonski/Timo Goettschalk (POL/GER/Toyota) 2.32:24. (2min penality), 5. Nani Roma/Alexandre Winocq (ESP/FRA/Brx) 3.15:54, 6. Sheikh Khalid Al Qassimi/Xavier Panseri (UAE/FRA/Peugeot) 3.25:48, 7. Vladimir Vasilyev/Dmitro Tsyro (RUS/UKR/Mini) 3.26:58, 8. Giniel De Villiers/Alex Haro Bravo (RSA/ESP/Toyota) 3.55:02. (21 min penalty), 9. Martin Prokop/Viktor Chytka (CZE/CZE/Ford) 3.59:23. (1min penalty), 10. Cyril Despres/Michael Horn (FRA/SUI/Peugeot) 4.49:05 (49min penalty).
1. Sam Sunderland (GBR/Ktm) 4hrs 35min 12sec, 2. Pablo Quintanilla (CHI/Husqvarna) at 2min 40sec, 3. Kevin Benavides (ARG/Honda) 6:24, 4. Daniel Sanders (AUS/Ktm) 8:34,5. Matthias Walkner (AUT/Ktm) 9:27, 6. Ricky Brabec (USA/Honda) 12:46, 7. Lorenzo Santolino (ESP/Sherco Factory) 15:09, 8. Stefan Svitko (SVK/Ktm) 16:45,9. Oriol Mena (ESP/Ktm) 18:15,10. Adrien Van Beveren (FRA/Yamaha) 19:48. (5min penalty)
1. Kevin Benavides (ARG/Honda) 45hrs 1min 44sec (2min penalty), 2. Sam Sunderland (GBR/Ktm) at 4min 12sec, 3. Ricky Brabec (USA/Honda) 7:13. 4. Daniel Sanders (AUS/Ktm) 33:05. (7min penalty), 5. Skyler Howes (USA/Ktm) 49:07. (6min penalty), 6. Lorenzo Santolino (ESP/Sherco Factory) 49:26, 7. Pablo Quintanilla (CHI/Husqvarna) 1.00:18, 8. Adrien Van Beveren (FRA/Yamaha) 1.25:46. (20min penalty), 9. Stefan Svitko (SVK/Ktm) 1.26:40, 10. Martin Michek (CZE/Ktm) 2.14:55. (3min penalty)