Juan Monaco ended his three-game losing run against Albert Ramos to book his place in the quarter-finals of the ATP Brazil Open in Sao Paolo.
The Argentine came through a tough battle with the Spaniard 7-6 2-6 7-5 in a marathon match lasting just under three hours.
Fourth seed Monaco will appear in his fourth ATP Tour quarter-final since last August and it could be a special occasion for him in the last eight as a win would be his 200th on clay.
Standing in his way will be Italian Paolo Lorenzi, who ended the hopes of Brazilian qualifier Rogerio Dutra Silva with a 6-4 6-3 success in just 72 minutes.
Monaco is now the highest seeded player left in the event after third seed Marcel Granollers was dumped out by Slovakian Martin Klizan.
It was another bad start for Granollers, with the Spaniard losing his opening match for the fifth time in his last six tournaments.
Local favourite Thomaz Bellucci will take on Klizan in the last eight, after the 2009 runner-up in the event defeated Andreas Haider-Maurer 7-6 5-7 6-3 after a prolonged two-hour and 38-minute battle.