The two-time champion Rafael Nadal has been knocked out of the US Open by France’s Lucas Pouille in the last-16 match.
The 22-year-old recovered from a break down in the fifth before converting his fourth match point in the tie-break to win 6-1 2-6 6-4 3-6 7-6 (8-6).
“It took everything. I could not dream better than that,” the world number 25 said after his four-hour victory.
Pouille will play compatriot Gael Monfils, who beat Marcos Baghdatis.
The defeat means that 2016 is the first year since 2004 in which Nadal, 30, has failed to reach a Grand Slam quarter-final.
“I am close to being 100% again and I believe I can have a couple more good years,” said Nadal whose most recent Grand Slam title came with his ninth French Open in 2014.
His best runs since have been two quarter-final spots at the 2015 Australian and French Opens.
“I fought to the end today but I needed something that was not there. I will keep working to try and find it.”