With Stefanos Tsitsipas taking out Daniil Medvedev in the Roland Garros quarterfinals on Tuesday night, Novak Djokovic is guaranteed to hang onto the No. 1 ranking after the tournament is over.

The No. 2-ranked Medvedev was the only player who could have passed him for the top spot in Paris, but he needed to at least reach the final to have a shot, and Tsitsipas was just too good on Tuesday.

But given Medvedev had never won a match at Roland Garros before this year, making it all the way to the quarterfinals—and losing just one set along the way—was very encouraging for him.

“Every time I don’t win a tournament, it’s kind of a disappointment,” he said. “But before coming here, as I said, first time I came here it was Thursday or something, I was feeling good straight away, so I was like, ‘I can do good results.’

“But before coming here, if anybody would tell me I would be in quarters losing to Tsitsipas in a tough match, I would sign. I will not lie, I would sign, especially being 0-4 in the first rounds before.”

The battle for No. 1 will surely continue at Wimbledon—Djokovic will be defending champion’s points, while Medvedev is defending third-round points. But for now, Djokovic’s domination at the top of the ATP rankings continues no matter how he does the rest of the tournament. The Serb is currently spending his 324th career week at No. 1, and will begin his 325th career week there on Monday.