Novak Djokovic beaten by Sam Querrey at Paris Masters

Novak Djokovic collapsed to a three-set defeat by American Sam Querrey in the second round of the Paris Masters.

The Serb, who is guaranteed to finish the year as world number one, looked to be in total control when he took the first set without dropping a game.

But world number 23 Querrey fought back to take the second on a tie-break and took a decisive break in the decider for a 0-6 7-6 (7-5) 6-4 victory.

There were also wins for David Ferrer, Juan Monaco and Janko Tipsarevic.

Spanish world number five Ferrer, who beat compatriot Marcel Granollers in straight sets, is now the highest seed left in the bottom half of the draw following Djokovic's defeat.

The second seed, who will replace Roger Federer at the top of the world rankings despite losing to Querrey, arrived on court in Paris wearing a Darth Vader mask to mark Halloween.

And Djokovic's jovial mood looked merited as he won the first eight games of the match. But Querrey, with his powerful forehand and a serve that yielded 18 aces, improved after finally making an impression on the scoreboard.

"I was concerned about how long I can keep that level, since physically I'm not feeling very good in last couple of days," said Djokovic. "When you're playing somebody that hits, that serves that well in the corners, there is nothing you can do.

"During the second set I already felt that physically I'm down, and I struggled every game.

"It's unfortunate, but on the brighter side, I have a little bit more time to rest because I had really difficult period in the last couple of weeks. Some things happened and [there are] a lot of things on my mind."

Image caption, Djokovic arrived on court wearing a Darth Vader mask

Argentine Monaco and Serbia's Tipsarevic will meet in the third round after straight-sets wins over Grigor Dmitrov and Igor Sijsling respectively.

The winner of that match is a potential quarter-final opponent for Andy Murray, who beat Paul-Henri Mathieu 7-5 6-3 in the second round.

Querrey will play 14th seed Milos Raonic of Canada after he beat Frenchman Jeremy Chardy 6-7 7-6 6-3, while Spain's Nicolas Almagro defeated countryman Albert Ramos 7-6 6-7 6-3 and seventh seed Juan Martin Del Potro eased past Alejandro Falla of Colombia 6-2 6-2.

Monaco, Tipsarevic, Raonic and Almagro - as well as Jo-Wilfied Tsonga - can still qualify for one of the two remaining places in the ATP World Tour Finals next week, but France's Richard Gasquet will not be in London after his three-set defeat by Kevin Anderson.

American John Isner also saw his hopes ended after a 6-4 7-6 defeat by Michael Llodra of France.

Elsewhere, British pair Colin Fleming and Ross Hutchins have gone out of the doubles competition in the second round, beaten 3-6 6-3 10-5 by Polish duo Mariusz Fyrstenberg and Marcin Matkowski.