(CNN)Serena Williams had to leave the Rogers Cup final in Toronto early Sunday, plagued by back spasms, the Women's Tennis Association said.
The 23-time Grand Slam champion made it though four games of the opening set, but was forced to retire from the match when the pain became too much, WTA said.
Her opponent, 19-year-old Bianca Andreescu, took the title in front of a hometown crowd. But instead of immediately celebrating, Andreescu rushed to comfort Williams, who was visibly upset on the sideline.
"I started tearing up because she was tearing up," Andreescu said during a post-match press conference. "It's because I know how she feels. Injuries really, really suck."
The young player, who had been nervous to face the legendary champion on the court, ended up giving Williams a pep talk.
"I just said, 'Girl, you are ... a beast. You're going to bounce back. You've dealt with so much in your career. This is just a minor setback for a major comeback," Andreescu said.