Federer also had a word for his fans, who came out in force to support him.
“Thank you very much, I appreciate it thank you. It feels good to be back,” he added.
“I’m happy to be standing here regardless of if I won or lost, but obviously winning feels better.
“It was a great match, Dan played a good match too. He’s been a wonderful training partner with me the last two weeks, we played over 20 sets.
“It’s great fun and thank you for the people who came out.”