The chair umpire who left his seat to offer words of encouragement to Nick Kyrgios during his second-round victory against Pierre-Hugues Herbert at the US Open has been suspended for two tournaments, the ATP announced Tuesday.

The umpire, Mohamed Lahyani, will not be able to officiate at his next two scheduled events — the China Open and the Shanghai Masters.

"Mohamed is a world-class and highly respected official. However, his actions during the match crossed a line that compromised his own impartiality as a chair umpire," Gayle Bradshaw, ATP executive vice president of rules and competition, said in Tuesday's statement. "Although well-intended, his actions were regrettable and cannot go without disciplinary action on our own Tour. We know that he will learn from this experience and we look forward to welcoming him back in October."

Kyrgios, one of the most talented and controversial young players in tennis, lost the first set and was down 3-0 in the second at the time of the talk and, as has been the case many times in the past, was not giving his best effort. During a break between games, Lahyani told Kyrgios, "I want to help you," among other things.

Kyrgios came back to win the second set 7-6 (6), and cruised through the rest of the match to advance to a third-round meeting with Roger Federer.

"This was not his job," Herbert said after the match. "I don't think he's a coach, he's an umpire, and he should stay on his chair for that."

Kyrgios saw it differently.

"He said he liked me. I'm not sure if that was encouragement. He just said that it's not a good look," Kyrgios said. "Look. I wasn't feeling good. I know what I was doing out there wasn't good. I wasn't really listening to him, but I knew it wasn't a good look."

The US Open said in a statement that Lahyani left his chair "to make sure he could communicate effectively" with Kyrgios in a noisy arena.

According to the statement, Lahyani wanted to check whether Kyrgios needed medical attention and wanted to warn Kyrgios that he "would need to take action" if the "seeming lack of interest in the match continued."

Contributing: Associated Press