SHANGHAI: Daniil Medvedev on Wednesday got his revenge against US teenager Learner Tien, beating him in a nail-biter 7-6 (8/6), 6-7 (1/7), 6-4 to proceed to the Shanghai Masters quarterfinals.

There he will meet world No. 7 Alex de Minaur, who cruised past Portugal’s Nuno Borges 7-5, 6-2 earlier in the day.

Victory in Shanghai comes just over a week after the 36th-ranked Tien took the Russian out of the China Open semifinals in Beijing.

“He’s an unbelievable tennis player,” Medvedev said of the 19-year-old. “Outside of the big three, he may be the toughest opponent I’ve ever faced.”

Medvedev broke first in the ninth game, but Tien returned the favor immediately.