Rafael Nadal will face top seed Novak Djokovic in the French Open semi-finals after the Spanish 13-time champion outlasted Diego Schwartzman in a tricky battle in front of 5,000 fans in Paris.
In Wednesday's night match, Djokovic won 6-3 6-2 6-7 (5-7) 7-5 against Italian ninth seed Matteo Berrettini.
Serbia's Djokovic faces Nadal, in a re-run of last year's final, on Friday.
After reaching a record-extending 14th French Open semi-final with his 105th win in 107 matches at Roland Garros, Nadal said: "The numbers are just amazing. But I can't think about that now, honestly. Let's talk about that when I finish my career.