Rafael Nadal suffered his first clay-court defeat in almost a year when the world No 1 was shocked 7-5, 6-3 by Austria's Dominic Thiem in the Madrid Masters quarter-finals on Friday.
Defending champion Nadal, who came into the tournament having won both Monte Carlo and Barcelona for an 11th time, also saw his record 50-set winning streak on clay ended by the fifth-seeded Thiem.
Thiem, the runner-up to the great Spaniard in the 2017 Madrid final, had been the last player to defeat Nadal on clay at the 2017 Italian Open in Rome – 357 days ago.
The shock result also means that Roger Federer will reclaim the world No 1 ranking on Monday. However, in quotes that appeared in the UK's Daily Express newspaper Nadal said he knew it would be difficult to continue his run as the world's top-ranked player.
“You cannot be No 1 five months without competing,” Nadal said. “Of course, this is the ATP ranking. We’re not talking about something that you have maybe some more margin.
“I think from Shanghai till Monte Carlo, I hadn’t finished a single tournament. We’re talking about a lot of months that I gave up.
If we were talking about the ranking of one year, if I played really good in one period of the year, which I’ve done, let’s be clear, I have been playing really good recently. Last year I made it to the finals in every single tournament. This year until now I had only one or two tournaments that I had played. This is the reality of this year.
“Five months without playing in a tournament means that I cannot be No 1. I’m not even thinking about that. I’m not going to keep the No 1 today. At the end of the year we will see what happens."
Nadal paid tribute to Thiem for the way he played on Friday.
"A player like Dominic has a lot of potential. Whenever he plays really well, it's very difficult to stop him," Nadal said. "He played well and I didn't play well. We're not playing a game where the differences are big or massive. The differences are very small."
Five-time Madrid winner Nadal, who will be bidding for an 11th French Open title in Paris later this month, had won his previous 21 matches on clay.
That run included him surpassing John McEnroe's 1984 record of 49 sets won in succession on the same surface during his last-16 duel with Diego Schwartzman on Thursday.
However, in their ninth career clash, Thiem put Nadal under pressure almost from the start on Friday and broke for a 4-3 lead in the first set. A double fault and a long forehand allowed Nadal to retrieve the break at 5-5.
Thiem: Nadal 'killed me in Monaco'
It was a brief reprieve as a lazy forehand volley gave Thiem a 6-5 advantage and the set came the Austrian's way in the 12th game off an ace.
Thiem, watched by his girlfriend – and WTA star – Kristina Mladenovic, turned the screw for a 3-1 lead in the second set but Nadal battled back to 3-3.
That was as good as it got for the Spaniard as Thiem broke again for 4-3, held to love for 5-3 and secured victory with another blistering forehand.
Thiem, who next faces South Africa's Kevin Anderson for a place in Sunday's final, joins Novak Djokovic and Gaston Gaudio as just the third man to have beaten Nadal three times on clay.
"It takes a really good match to beat Rafa on clay. But I think a very important thing also was today that I went in with the attitude that I can beat him," Thiem said.
"Two weeks ago in Monte Carlo, he killed me love and two. It was very important I went in with a positive attitude, with an attitude to win. I should go into every match like this against him."
World No 8 Anderson battled into his first Masters semi-final with a 7-6, 3-6, 6-3 win over Serbian qualifier Dusan Lajovic. Anderson, the 31-year-old US Open runner-up last year, hit 15 aces and 35 winners.
Canada's Denis Shapovalov became the youngest player to reach the Madrid semi-finals with a 7-5, 6-7, 6-4 win over Britain's Kyle Edmund.
Shapovalov, 19, ranked at 43 in the world, fired 29 winners past Edmund, a surprise semi-finalist at the Australian Open in January.
Madrid Open talking points: Djokovic and Sharapova show encouraging signs of form
Shapovalov, who had never won a clay-court match on the main tour before Madrid, will be playing in his second Masters semi-final where he will on Saturday face German second seed Alexander Zverev.
Zverev defeated John Isner 6-4, 7-5 to gain revenge for his defeat to the American in the Miami Masters final in April.
Zverev has now reached five Masters semi-finals in the last year.
Dutchwoman Kiki Bertens continued her remarkable run at the Madrid Open by thrashing French seventh seed Caroline Garcia to reach the womens' final.
The world No 20 will face Petra Kvitova after brushing aside Garcia 6-2, 6-2.
Bertens had already stunned world No 2 Caroline Wozniacki and five-time grand slam champion Maria Sharapova earlier in the week.
Two-time Madrid champion Kvitova reached the final with a 7-6, 6-3 win over Czech compatriot Karolina Pliskova.