In the early 2000s, Federer was ranked no. 1 by the Association of Tennis Professionals (ATP) for 310 weeks with a record of consecutive 237 weeks. He is regarded as one of the greatest tennis players of all time. Federer has won a total of 20 grand slam men’s singles titles and ranks third behind Djokovic and Nadal with 21 and 22 titles respectively.