Searching for inspiration when he was down two sets and facing triple break point, with his prospects of winning a record 21st Grand Slam title almost shot, Rafael Nadal thought back to some of his most difficult defeats.

A renowned right-to-the-end competitor, Nadal dug deep in that critical moment and won the next four points to survive the immediate threat from Daniil Medvedev. Minutes later, he held for 3-3 in the third set and swung the momentum of the Australian Open final around.

Nadal eventually did get to 21 first, setting the men’s record for Grand Slam singles titles with a dramatic 2-6, 6-7 (5), 6-4, 6-4, 7-5 comeback win that lasted 5 hours, 24 minutes and finished early Monday morning.

The 35-year-old Spaniard now has one more major title than Roger Federer and Novak Djokovic, his longtime rivals in the so-called Big Three.

He was the only one of the three who had a chance to claim the record solo in Australia.