Roger Federer was upset in his opening match at the Shanghai Masters on Tuesday by Spanish qualifier Albert Ramos-Vinolas 7-6 (4), 2-6, 6-3.
Federer looked rusty from the outset, failing to convert two break points in the opening set and making a flurry of backhand errors to lose the tiebreaker.
Ramos-Vinolas then broke the 17-time major winner in the eighth game of the third set with a forehand winner down the line and held the next game to close it out.
Federer hasn't played since helping Switzerland win a Davis Cup match the week after falling to Novak Djokovic in the final of the U.S. Open.
The last time he and Ramos-Vinolas played at Wimbledon in 2012, the Spaniard only won three games.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)