Until practically the final point on Rod Laver Arena it looked like lightning might strike twice.
John Millman had compared his odds of upsetting Roger Federer at a grand slam for a second time to that of the rare natural phenomenon.
But a repeat of his 2018 US Open upset of the 20-time major champion appeared in the making during their third-round clash at Melbourne Park until Federer finally prevailed 4-6 7-6 (7-2) 6-4 4-6 7-6 (10-8).
In a pulsating encounter the six-time champion had to call on all his fighting qualities, trailing the Australian 4-8 in their deciding super tiebreak, which is first to 10.
Federer managed to reel off six straight points to secure the victory, icing an unprecedented 100th win at the Open with a forehand winner.
Across the whole match Federer won 181 points to Millman's 178.
"It was tough - thank God it is a super tie-breaker otherwise I would have lost this one," Federer said.
"I think John played a great match and he might as well have been a hero in the match.
He had it. He bloody well had it. Jeezus Johnny Millman. He’ll be absolutely gutted. He just got Rogered. #AusOpen— Andy Maher (@AndyMaherDFA) January 24, 2020
This was a Unbelievable match honestly thought Millman was 100% going to win it was 8-4 and then Roger came back it was a miracle best match yet👌👌— Ertan Nebi (@ertan_nebi) January 24, 2020
Unbelievable stuff from Millman.— José Morgado (@josemorgado) January 24, 2020
Roger Federer doesn’t really know how to beat this guy. He’s yet to work out a formula. Rare.— David Law (@DavidLawTennis) January 24, 2020
And by the way, John Millman has been bloody brilliant.
"It was a great fight and it came down to the wire at the end and a bit of luck, maybe.
"I never really felt comfortable and I thought John did a great job of keeping me on my back foot, that I couldn't always step in until the last shot.
"I went to go for it and he picked the wrong side."
Millman matches Federer in marathon clash
Lasting four hours and three minutes and ending just before 1am, world No. 47 Millman was the better player for large parts of the match.
Federer made an unlikely 82 unforced errors but Millman was unable to make the most of his chances.
As well as his commanding tiebreak lead the Queenslander broke the world No.3 early in the fifth set but wasn't able to consolidate on his own serve.
He had another opportunity to break the Swiss great at 3-3, with two break points but that window snapped shut.
While devastated with the loss, Millman said he couldn't have done any more.
"Yeah, I'm disappointed - I left it all out there and I didn't win," he said.
"I'd probably rather lose it like 10-5 or something.
"Obviously would have been great to have served an ace and have a few matchies and put it to bed but it didn't happen.
"You know, s***, I played some all right tennis to get to that stage."
Federer next meets Hungarian Marton Fucsovics with world No.12 Fabio Fognini the only other seed left in their depleted quarter of the draw.