Tied with Roger Federer and Novak Djokovic on 20 majors each heading into Sunday's final, Nadal re-wrote the history books by battling back from two sets down to defeat Russia's Daniil Medvedev 2-6 6-7 (5-7) 6-4 6-4 6-4 in a gruelling 5hr 24min epic in Melbourne.