Former champion Novak Djokovic claimed a hardfought 6-4, 6-7 (6/8), 7-6 (7/4), 6-2 victory over a grieving Roberto Bautista Agut on Friday to book his spot in the French Open fourth round.
The 31-year-old former world number one struggled at times on Suzanne lenglen court, but eventually came through the four-set battle in three hours and 48 minutes with 13th seed Bautista Agut.
He has now made the last 16 of a Slam for the 43rd time, tying Jimmy Connors on the all-time list.
Bautista Agut was playing in Paris despite the death of his mother last week. Djokovic, seeded 20 after struggling to find his best form since returning from an elbow injury, will take on Fernando Verdasco for a last-eight place after the Spaniard knocked out fourth seed Grigor Dimitrov.
The Serbian has also reached the second week at Roland Garros for the last nine years in a row.
"Fours hours for the match, I'm a bit tired, Bautista Agut plays with too much patience for me, but I'm very happy to have won the match," said Djokovic, who holds a 10-4 head-to-head record over Verdasco.
"Bautista Agut is a specialist on this surface. Conditions were obviously very difficult, it was sunny, it rained. But it was a special win."
Djokovic, who at 22 in the world is at his lowest ranking since 2006, became frustrated at times during the opening set, but he grabbed the first break of the match in game 10 to take a one-set advantage.
The 31-year-old looked to have found his rhythm when he eased 4-1 clear in the second, but Bautista Agut battled back and saved three set points before taking a tie-break.
Djokovic was given a warning for racquet abuse as his anger boiled over. He continued to grind away in a topsy-turvy third set, though, with Bautista Agut failing to serving it out as both players were broken three times.
The gruelling encounter passed three hours as Djokovic forced another breaker, which he took on his third set point.
That knocked the resistance out of the Spaniard, as the 12-time Grand Slam champion broke at the first time of asking in the fourth set.
Djokovic is still lacking a little of the killer instinct of previous years, and he failed to serve out the match when leading 5-1, but quickly put any thoughts of a late wobble to bed in the following game.
Other matches
Kei Nishikori advanced to the fourth round of the French Open by beating Gilles Simon 6-3, 6-1, 6-3.
The 19th-seeded Nishikori broke Simon's serve five times and saved all six break points on his own serve.
His will next play either seventh-seeded Dominic Thiem - a semifinalist at Roland Garros the past two years - or unseeded Italian Matteo Berrettini.
Nishikori has twice reached the quarterfinals at Roland Garros, including last year.
Second-seeded Alexander Zverev is into the fourth round of the French Open for the first time, saving match point to win 6-2, 3-6, 4-6, 7-6 (3), 7-5 against Damir Dzumhur, who collided with a ball boy in the fourth set.
Dzumhur, seeded 26th, had a match point on Zverev's serve at 5-4 in the final set. Having never played a five-set match at Roland Garros until this year, Zverev has now won two back-to-back.
The victory was his first on Court Philippe Chatrier.
"Hopefully many more to come," he said in his post-match on-court interview.
Fourth-seeded Grigor Dimitrov fell to 0-7 against top-50 opponents at the French Open and still has never made it to the fourth round at the clay-court Grand Slam tournament.
Dimitrov, a two-time major semifinalist, bowed out 7-6 (4), 6-2, 6-4 in the third round against Fernando Verdasco, who is ranked 35th and seeded 30th.
Verdasco, meanwhile, got to the fourth round at Roland Garros for the seventh time. He has lost at that stage on all six previous chances to reach the quarterfinals.