Juan Martin Del Potro came back from two sets down and saved two match points to beat sixth seed Dominic Thiem in a raucous US Open classic.
The 24th seed, cheered on by a large Argentine contingent on the Grandstand court, won 1-6 2-6 6-1 7-6 (7-1) 6-4.
Despite feeling ill and requiring treatment, he came through in three hours and 35 minutes to set up a quarter-final against Roger Federer.
The Swiss third seed beat Germany's Philipp Kohlschreiber 6-4 6-2 7-5.
Federer, 36, struggled with a back injury in the build-up to the tournament and left the court after the second set for a medical timeout.
"I just needed a bit of a rub on my back. Or my… bottom," he said on court afterwards.
He later added: "I just felt something, sort of my muscle being tight at the back. Sort of my quad, I guess.
"I just didn't want Philipp to wait. It was more precaution. It's all good. No problems there. I'm not worried about it. I'm sorry I had to do it."
Federer upstaged by Del Potro 'epic'
The five-time champion produced another impressive performance, but for once the spotlight was elsewhere as Del Potro's comeback gripped Flushing Meadows.
The noise from the 8,000-seater Grandstand court outstripped that from the 24,000 spectators on Arthur Ashe Stadium as Del Potro saved two match points with thumping aces, on his way to setting up a rematch of the 2009 final he won against Federer.
"I played one of the epic matches of my career here at the US Open, which is my favourite tournament, in front of a great crowd," the Argentine said.
"I was thinking to retire in the middle of second set because I couldn't breathe, I couldn't move well, and Dominic was dominating the match so easy."
The 28-year-old was broken in the first game and seemed to be struggling with his eyesight.
Having lost the first set in 36 minutes, and after receiving medical treatment, the former champion trailed 6-1 3-0 and finally hit his first winner in the 12th game, but then wasted three break point opportunities.
The third set was far more competitive, as Del Potro appeared to be buoyed by medication and a partisan crowd. He broke Thiem in the second game and raced clear to take the set.
The 24th seed saved two match points in the fourth with aces and the crowd went wild when Del Potro won the resulting tie-break to take it to a decider.
There was more drama when Del Potro failed to convert three break points while 3-2, 0-40 up in the fifth, but an hour after facing match points, the Argentine completed the unlikely comeback as Thiem served a double fault.
After needing five sets to win his first two matches in New York, Federer made it back-to-back three-set wins.
The 19-time Grand Slam champion did not face a single break point over the course of one hour and 50 minutes.
He took control in the seventh game with the first of four breaks, dominating the second set and clinching victory in game 12 of the third as a tie-break loomed.
Latest Stories
-
Let’s embrace shared vision and propel National Banking College – First Deputy Governor
29 mins -
Liverpool agree compensation deal with Feyenoord for Slot
36 mins -
Ejisu by-election: There’s no evidence of NPP engaging in vote-buying – Ahiagbah
42 mins -
Ejisu by-election: Independent ex-NPP MP’s campaign team warns party against dubious tactics
1 hour -
ZEN Petroleum supports Tse-Addo Future Leaders School
2 hours -
NPP must win back Adentan seat in 2024 polls – Obeng Fosu
2 hours -
PPA Clarification: The dark side of the World Bank’s ‘giveaways’ in Ghana by Bright Simons
3 hours -
Blinken says China helping fuel Russian threat to Ukraine
4 hours -
MHA declares May as Purple Month for Mental Health Awareness
4 hours -
WAEC arrests former headmaster over illegal students registration
4 hours -
MeToo founder Tarana Burke defiant after Harvey Weinstein ruling
4 hours -
Be alert, insist on decent messages – Dwumfour tells media
5 hours -
Father jailed 10 years for burning daughter’s genitals with hot cutlasses
5 hours -
I aim to help Ghana produce world-class athletes – Asamoah Gyan
5 hours -
Ashanti Regional Minister alleges sabotage in electricity supply
5 hours