PARIS - Roger Federer suffered his earliest defeat at the French Open for a decade on Sunday when he lost to Latvian Ernests Gulbis in the fourth round but Novak Djokovic made light work of Jo-Wilfried Tsonga to reach the quarter-finals in a flash.

The Swiss fourth seed, who won the title in 2009, seemed to have the match in his grasp against but faded badly to lose 6-7(5) 7-6(3) 6-2 4-6 6-3. World No.2 Djokovic destroyed local favourite Tsonga 6-1 6-4 6-1 to set up a meeting with eighth seed Milos Raonic of Canada, who advanced with an emphatic 6-3 6-3 6-3 victory over Spain's Marcel Granollers.

Andy Murray lived to fight another day after a five-set thriller against Philipp Kohlschreiber and in the women's singles fast-rising Canadian Eugenie Bouchard thrashed Angelique Kerber 6-1 6-2 to claim a quarter-final spot.

Maria Sharapova, seventh seed and last year's losing finalist, won the last nine games of the match, after losing the first set, to sweep past Australia's Samantha Stosur 3-6 6-4 6-0 into the quarter-finals. The 19th seed outfought and outfired the former world No.1 in the first set and held her nerve when Sharapova broke early in the second set. But the Russian began to build a remorseless momentum to grind down Stosur with her accuracy from the baseline. She will play Spain's Garbine Muguruza, who beat France's Pauline Parmentier 6-4 6-2, in the quarter-finals.

While Djokovic made it to his 20th consecutive grand slam quarter-final, it was the first time since 2004 that 32-year-old father of four Federer failed to reach the last eight in Paris. He has now fallen before that stage in three of his last four grand slam tournaments. "Mentally I have already switched to the grass, to be quite honest," said Federer. "For me, it's like, okay, claycourt season was fun, but we are moving on. Clay doesn't need me anymore, I got flushed out here."

Former world No.1 Federer, who became father to a second set of twins recently, looked a slightly forlorn figure as Gulbis turned around the match and the days when he was a near certainty to reach semi-finals appear to be over. The 17-times grand slam champion was beaten in the second round at Wimbledon last year and the last 16 at the U.S. Open although he did enjoy a semi-final run in Australia.

The French crowd were hoping that 13th seed Tsonga would cheer them up, but Djokovic had other ideas. It took him 89 minutes to tear Tsonga apart,Seventh seed Murray reached the fourth round, winning 3-6 6-3 6-3 4-6 12-10 against Germany's Philipp Kohlschreiber having re-started the match on Sunday locked at 7-7 in the fifth after bad light stopped play the previous evening. "When you start 7-7 every single point counts," Briton Murray, who had not played a five-setter since returning from back surgery, told reporters. "Today was a pretty high standard, probably the best standard of the match I think from both of us." He will play Spain's Fernando Verdasco next after he also returned to finish off Frenchman Richard Gasquet with ease.

With so many top seeds gone from the women's draw 20-year-old Bouchard is now looking like a serious title contender. "I feel like since the beginning of the year I have been improving my game, since Australia I'm at a different level from there," Bouchard said." She will face 14th seed Carla Suarez Navarro after the Spaniard end the run of up-and-coming Croatian Ajla Tomljanovic with a 6-3 6-3 win.