PARIS (AP) -- American qualifier Sam Querrey reached the second round of the Paris Masters by beating 2012 runner-up Jerzy Janowicz 6-7 (5), 6-2, 6-4 Monday.

Querrey had 17 aces to 12 for Janowicz, a 2013 Wimbledon semifinalist from Poland, and 46 winners to 32.

Richard Gasquet of France, Philipp Kohlschreiber of Germany and Dominic Thiem of Austria also advanced.

Gasquet, a semifinalist at the 2013 U.S. Open, was leading 6-7 (4), 6-2, 4-0 when Uzbek qualifier Denis Istomin retired because of a right leg injury.

Thiem, the youngest player in the top 50, beat Alexandr Dolgopolov of Ukraine 6-2, 4-6, 6-0, while Kohlschreiber cruised past French wild card Edouard Roger-Vasselin 6-3, 6-1 to next play defending champion Novak Djokovic.

Janowicz won four straight points to lead 6-3 in the tiebreaker and capitalized on a double-fault from Querrey to take the first set.

But Querrey broke Janowicz twice in the second set and slammed an ace to even the match. The American broke for a 2-1 lead in the final set and converted his second match point with a forehand winner.

Fernando Verdasco of Spain and Santiago Giraldo of Colombia also won their first-round matches, along with American qualifier Jack Sock, Austrian veteran Jurgen Melzer and Frenchmen Julien Benneteau and Adrian Mannarino.

Verdasco overcame American qualifier Donald Young 4-6, 6-1, 6-3, Giraldo defeated Mikhail Youzhny of Russia 6-2, 6-4, Sock routed Pablo Andujar of Spain 6-1, 6-1, Melzer dismissed Guillermo Garcia-Lopez of Spain 6-4, 6-1, Benneteau ousted Lu Yen-Hsun of Taiwan 6-3, 6-4, and Mannarino beat Pierre-Hugues Herbert of France 7-6 (3), 6-3.