Guillermo Garcia-Lopez had to come from a set and a break down to beat Evgeny Donskov in the opening round of the ATP St Petersburg Open.
The seventh seed looked in danger of suffering an early exit when he lost his serve three times in the opening set against his wild-card opponent from Moscow.
It went from bad to work for the Spaniard when he double-faulted to hand Donskoy a break, though this time he managed to rally to take the set 6-4.
He then broke early to lead 3-1 in the decider and completed a 2-6 6-4 6-3 win in two hours and 12 minutes.
Elsewhere, Flavio Cipolla beat Belarusian qualifier Andrei Vasilevski 7-6 (7/4) 7-6 (8/6).
The Italian, currently at No.81 in the world, was pushed for over two hours by a player over 700 places lower than him in the rankings.
There were no such problems for Rajeev Ram, the American easing past Germany's Matthias Bachinger 6-4 6-4 in the day's other match, breaking early to win the first set before recovering from 0-2 down in the second.