PARIS — For two sets and more than two hours at the French Open on Monday, Novak Djokovic found himself being outplayed by a 19-year-old opponent from Italy making his Grand Slam debut.

And yet, to hear Djokovic tell it afterward, he had the kid right where he wanted him. Which turned out to be true.

Rafael Nadal also faced an Italian who’s just 19 in the fourth round — and also took a bit of time to get going. Nadal’s trouble lasted all of eight games and less than 45 minutes Monday before he took control, ran his Roland Garros streak to 35 consecutive sets and joined Djokovic in reaching a record 15th quarterfinal at the clay-court major tournament.

After dropping a pair of tiebreakers, Djokovic suddenly went from a big deficit to his best tennis. He grabbed 13 games in a row before Lorenzo Musetti stopped playing because of lower back pain and cramps while trailing 6-7 (7), 6-7 (2), 6-1, 6-0, 4-0.

“I like to play young guys in best-of-five, because I feel even if they are leading a set or two sets to love, as it was the case today, I still like my chances,” said the top-seeded Djokovic, who is 34, “because I feel like I’m physically fit and I know how to wear my opponent down.”

Nadal, who turned 35 last week, trailed 5-3 early on against the 18th-seeded Jannik Sinner, who served for the first set at 5-4.

“I was playing a very good player with a big future,” Nadal said.

But 13-time French Open champion Nadal took eight games in a row and, after a blip in the second set, resumed his excellent play and closed his 7-5, 6-3, 6-0 win on a 10-game run.

Musetti, a talented Italian so good at the outset with his one-handed backhand and tremendous touch, is hardly used to this best-of-five-set format at the majors and he took a medical timeout after the fourth.

“It didn’t make sense to keep playing. I couldn’t win any points or stay in the rallies. It was hard for me to move,” Musetti said. “I was at my limit.”

Djokovic wound up 9 for 9 on his break-point chances and with a 53-30 edge in winners.

How shocking was it just to see Musetti take a pair of sets against Djokovic, who is seeking his second French Open championship and 19th Grand Slam trophy overall?

“Even for me,” Musetti acknowledged afterward, “it was a little surprising.”

The top-seeded Djokovic never has been beaten at Roland Garros by someone ranked as low as the No. 76 Musetti. Djokovic’s only previous loss against a teen at the French Open came back in 2006 against a guy named Nadal. And Djokovic entered the day 14-0 in the fourth round at the place.

Plus, consider Djokovic’s recent form: He was 10-0 in Grand Slam matches in 2021 and hadn’t ceded more than four games in any set in Paris — let alone an entire set — while dropping a total of just 23 games until Monday.

In women’s play, 17-year-old American Coco Gauff became the youngest player since 2006 to reach the women’s quarterfinals at any Grand Slam tournament by overwhelming No. 25 seed Ons Jabeur 6-3, 6-1 in under an hour.

Gauff now meets Barbora Krejcikova, who reached her first major quarterfinal with a 6-2, 6-0 victory over Sloane Stephens, the 2017 U.S. Open champion and 2018 French Open runner-up.

Maria Sakkari, who is seeded 17th, beat No. 4 Sofia Kenin, last year’s runner-up, 6-1, 6-3. Sakkari’s quarterfinal opponent will be 2020 champion Iga Swiatek or Marta Kostyuk.

Gauff, Krejcikova and Sakkari are three of the six women making their Grand Slam quarterfinal debuts.

Recommended for you