Novak Djokovic had an almost full house on his side at Ken Rosewell Arena, and felt like he needed to be a responsible host for his guests.

There was a delay in the 10th game of the third set of his ATP Cup quarterfinal match against Denis Shapovalov on Friday when a spectator needed medical attention from paramedics and Djokovic, despite being down 0-30 while serving for the match, took a bottle of water over toward the stadium seating and asked the crowd to pass it along.

He got back level at 30-30 in that game before Shapovalov broke to level the set at 5-5. The Canadian saved a breakpoint in the next game but after it went to a tiebreaker following 2 1/2 hours, Djokovic seized control by winning the first five points and then finished off a comeback 4-6, 6-1, 7-6 (4) .

Denis Shapovalov of Canada takes the first set against Novak Djokovic of Serbia during their ATP Cup tennis match in Sydney, Friday, Jan. 10, 2020. (AP PhotoSteve Christo)

Denis Shapovalov of Canada takes the first set against Novak Djokovic of Serbia during their ATP Cup tennis match in Sydney, Friday, Jan. 10, 2020. (AP PhotoSteve Christo)

Dusan Lajovic had earlier beaten Felix Auger-Aliassime 6-4, 6-2 and so Djokovic's win sealed the quarterfinal ahead of the doubles match, giving Serbia a spot in the semifinals against Russia.

“That was so close, it could have gone in a different way easily. (Shapovalov) was playing terrific tennis,” Djokovic said. “It felt, not a little bit, fully like I'm playing at home.”

Djokovic, who has won a record seven Australian Open men's singles titles, was playing in Sydney for the first time in a decade after going 3-0 in singles in the ATP Cup group stage in Brisbane.

Novak Djokovic of Serbia plays a shot against Denis Shapovalov of Canada during their ATP Cup tennis match in Sydney, Friday, Jan. 10, 2020. (AP PhotoSteve Christo)

Novak Djokovic of Serbia plays a shot against Denis Shapovalov of Canada during their ATP Cup tennis match in Sydney, Friday, Jan. 10, 2020. (AP PhotoSteve Christo)

“I'm mean, Brisbane we had amazing support — but this has taken it to a different level,” Djokovic said. "All the Serbian people came out today."

The temperature topped topped 33 Celsius (91 F) during the match, and it was hazy outside with a lack of breeze, making the conditions inside the arena stifling.

Djokovic endured it all to extend his record to 5-0 against Shapovalov. The constant chants and even a burst of trumpet from the flag-waving Serbian fans certainly helped him, he said. The 16-major winner reveled in the team environment, with his teammates and coaches on the side of the court, and the echo of “Nole, Nole, Nole” going around the stadium.

Shapovalov complained about the noise made as he served a double-fault to fall behind 4-0 in the tiebreaker, and the umpire asked the crowd to keep quiet during the service motion.

More AP Tennis: https://www.apnews.com/apf-Tennis and ttps://twitter.com/AP_Sports