Dominic Thiem fought off Nick Kyrgios and a rowdy crowd to overturn a two-set deficit in a thrilling match and reach the Australian Open fourth round.
Austrian third seed Thiem weathered everything home favourite Kyrgios threw at him to prevail 4-6 4-6 6-3 6-4 6-4.
Kyrgios had his opportunities but his shot selection - and occasionally his temper - let him down.
The match finished 50 minutes before Melbourne Park closes its doors to fans as Victoria begins a five-day lockdown.
US Open champion Thiem will play Grigor Dimitrov of Bulgaria for a place in the quarter-finals.
This was a fitting way for the crowds, who have been so vocal for Kyrgios, to say goodbye to the tournament for now.
They were treated to the full range of Kyrgios' brilliant shots and lapses of concentration, as well as a hardy, gutsy performance from Thiem.
The two players shook hands and had a warm conversation at the net, before Thiem was given a standing ovation by the fans.
"A first match against Nick on his favourite court with an amazing crowd - there are easier things to do," Thiem joked afterwards.
"I was dealing with the loss already before somehow I fought back in."
It is the fourth time Thiem has come from two sets down to win at a Slam, which he memorably did to claim his first major title in New York in September.
The Nick Kyrgios way
Although he ended up the loser, this was vintage Kyrgios - underarm serves, powerful forehands, questionable shots at key times and, above all, feeding off an adoring crowd.
Thiem occasionally looked overawed in the opening stages, Kyrgios setting the tone as he broke in the first game of the match before asking the fans to give him more noise.
The Australian energised himself, pumping the air with his fist as he took the first set, and the pressure told on Thiem.
The third seed held off four break points in the second but Kyrgios - and the crowd - would not go away, with Kyrgios closing out the set in trademark audacious style with an underarm serve.
Kyrgios' fitness was always a question after his five-set match against Ugo Humbert on Wednesday and he was put to the test in a 10-minute opening game of the fourth set.
The game featured five deuces, Kyrgios taking advice from a fan in the crowd and serving down the T to wrong-foot Thiem and the home favourite thumping his chest as he staved off two break points.
In truth, Kyrgios could have avoided a fifth set - serving for a 5-4 lead, he got to 30-0 before two inexplicable tweener shots and some poor rushes to the net handed Thiem the break he needed.
He was also given a point penalty for swearing, rowed with the umpire about whether or not his grunting was a hinderance and also found time to complain about the line-calling technology.
But, as commentators remarked, that is simply the Nick Kyrgios way.
Thiem goes into the zone
The John Cain Arena somehow got louder for the fifth set, with Kyrgios feeding off their energy.
It was at 3-3 when the crucial break came. Thiem looked to have blown his chance to break the Kyrgios serve, dropping to his haunches when a simple slice backhand went long.
However, he took his second chance, showing emotion for the first time in the match after a return-of-serve winner, turning to his box and shaking his fist in celebration.
Another brilliant backhand from Thiem - his 57th winner of the match - enabled him to wrap up victory in three hours 24 minutes.
Latest Stories
-
Livestream: Newsfile discusses mass sacking, Akwatia MP contempt & galamsey
13 minutes -
Chamber of Construction Industry pays courtesy Call on Roads Minister
3 hours -
IRS slashing thousands of jobs in heat of US tax season
10 hours -
Farmers say bird flu a ‘crisis’ as egg prices soar
10 hours -
Apple pulls data protection tool after UK government security row
11 hours -
MTN FA Cup: Gold Stars knocked out on penalties by Attram Devisser
11 hours -
Assemblyman alleges kidnap, torture on orders of NDC Bono East regional chairman
12 hours -
CAS dismisses Luis Rubiales’ appeal against FIFA’s three-year ban
12 hours -
When finding love on Facebook becomes a family tradition
12 hours -
We are committed to reviewing Cash Reserve Ratio for banks – BoG Governor
12 hours -
We can’t afford to lose our Indigenous languages – Atwima Nwabiagya North MP
13 hours -
Ghana Police Service refutes claims of neglecting injured officer at KATH
13 hours -
Cybervergent Ghana outlines key strategies for a secure digital future
13 hours -
Morocco struck late to beat Ghana’s Black Queens in friendly
13 hours -
Combine studies and certifications to boost your career prospects, CIB Ghana Chief tells students
13 hours