At the Shanghai Masters, after defeating Wawrinka in the third round, Federer confirmed his 300th week at No. 1. Federer made it to the finals of the ATP Finals, where he lost to Djokovic in two sets.[97][98]