Shanghai, Oct. 7 -- Serbian icon survived left ankle pain, humidity and a tough challenge posed by Jaume Munar to advance to the quarterfinals of the Shanghai Masters for the 11th time on Tuesday.

The 24-time major champion received medical attention plenty of times in a two-hour, 40 minute clash that left him drained and in need of an ice towel on his head during changeovers. The superstar threw up on courtside several times and collapsed to the floor during set two, as per ATP's official website.

But nothing could deter the 38-year-old legend from beating Munar 6-3, 5-7, 6-2 in one of his most physically and mentally draining and demanding matches of the season.

After a loss in set two, an error from Munar during the third set caused...