Federer 6-4 3-6 6-1 3-6 6-3 Nadal
More from Federer: "I'd like to thank Rafa's team. Keep playing Rafa. Tennis needs you.
"You guys fill up the seats and make it a wonderful experience to fight harder, and harder, and one more time.
"It's because of you guys we are standing here tonight and we fought like we could. You guys made it super special for me.
"I've been coming here for almost 20 years now. I've always enjoyed it and now my family does too.
"Thanks again for everything,
I would have been happy to lose to Rafa'
Australian Open 2017 champion Roger Federer: "I'm out of words and Rafa said so many great things. I'd like to congrautlate Rafa on an amazing comeback.
"I don't think either one of us believed we'd be in the finals in Australia when we saw each other at your academy four, five months ago. And here we stand. I am happy for you. I would have been happy to lose to you. The comeback was perfect.
"Tennis is a tough sport. There are no draws. If there were I would have been happy to accept one tonight and share it with Rafa.
"Everybody says they work very hard - I do the same - but I try not to shout about it. I'd like to thank my team. It's been a different last six months. I didn't think I'd make it but here I am."