“Tennis has treated me more generously than I ever would have dreamt, and now I must recognize when it is time to end my competitive career,” he said.