Pussycat Dolls alum Nicole Scherzinger was allegedly in contact with Liam Payne on the day he died.

Composer Andrew Lloyd Webber — who is working with Scherzinger on the Broadway musical “Sunset Blvd.” — addressed her relationship with the late One Direction singer during an interview with Billboard published Thursday.

“I suppose something that hasn’t been said, and I suppose I could say, is that of course she mentored Liam, from One Direction,” Webber, 76, said. “On the Wednesday when he died, she was still texting him that day.”

 Nicole Scherzinger attends Mary J Blige's star studded Revolve X Dundas Super Bowl Dinner at San Vicente Bungalows in 2023.
Pussycat Dolls alum Nicole Scherzinger was allegedly in contact with Liam Payne on the day he died.RACHPOOT.COM / SplashNews.com

Andrew Lloyd Webber and Nicole Scherzinger backstage during the opening night of "Sunset BLVD" at St James Theater on October 20, 2024 in New York City.

Composer Andrew Lloyd Webber, who is currently working with the songstress on a Broadway production, opened up about her relationship with the late One Direction alum.Bruce Glikas/WireImage

According to the British musician, Scherzinger, 46, learned the tragic news of Payne’s death shortly before she took the stage to perform in her starring role.

“She’d just heard that he died,” Webber said. “And the fact that she even did the show at all is extraordinary. I mean she is an amazing, amazing woman.

“She is without any question one of the finest performers I’ve ever worked with.”

Grabs from Liam Payne's snapchat on the day of his death
“Of course she mentored Liam, from One Direction,” Webber told Billboard in a interview published Thursday.Snapchat/Liam Payne

Liam Payne attends the star-studded Sake Ceremony hosted by Nobu Matsuhisa and Meir Teper to inaugurate the Grand Opening of Nobu Dubai, at Atlantis The Palm, on January 20, 2023 in Dubai.
“On the Wednesday when he died, she was still texting him that day,” the British composer continued.Getty Images for Atlantis The Royal
Reps for Scherzinger did not immediately respond to Page Six’s request for comment.

Payne and Scherzinger’s relationship dates back to 2010 when the “Don’t Cha” singer was a judge on “The X Factor UK.”

At the time, Scherzinger teamed up with fellow judges Simon Cowell and Louis Walsh to connect Payne with his One Direction bandmates, Harry Styles, Zayn Malik, Louis Tomlinson and Niall Horan.

Nicole Scherzinger attends the opening night of "Sunset BLVD" at St James Theater on October 20, 2024 in New York City.
Webber said that Scherzinger still showed up to perform hours after hearing the news of Payne’s death.Bruce Glikas/WireImage

Nicole Scherzinger performs at DreamFest International Music Festival 2024 on July 27, 2024 in Baku, Azerbaijan.
“And the fact that she even did the show at all is extraordinary. I mean she is an amazing, amazing woman,” Webber added.WireImage

Behind-the-scenes footage released in 2022 showed Scherzinger encouraging her fellow judges to put together “an imaginary boy group” consisting of the five teens rather than eliminating them from the show.

“They’re just too talented to get rid of and they’ve got just the right look and the right charisma on stage,” she said at the time. “I think they’ll be really great in a boy band together.”

“They’re like little stars,” Scherzinger continued. “You can’t get rid of little stars. You put them all together.”

Liam Payne, Simon Cowell and Nicole Scherzinger on stage at The BRIT Awards 2017 at The O2 Arena on February 22, 2017 in London, England.
Scherzinger and Payne met on “The X Factor UK” in 2010.Getty Images

Nicole Scherzinger poses for a photo.
Scherzinger, who was a judge on the show, encouraged her fellow judges, Simon Cowell and Louis Walsh, to form the boy band now known as One Direction.Nicole Scherzinger / Instagram
From there, One Direction was formed. The group went to have incredible success, recording albums and performing together for five years until separating in 2015.

Payne and Scherzinger reportedly filmed the forthcoming Netflix series “Building the Band” together before he died.

The “Teardrops” singer acted as a judge and mentor on the unscripted show, which wrapped production in August, Deadline reported earlier this month.

Liam Payne at Chiltern Firehouse in February 2023.
Payne died on Oct. 16.SplashNews.com

 Liam Payne poses for a picture before his death in March 2023.
He was 31.liampayne/Instagram

Payne died on Oct. 16 after falling from a third-floor balcony at the CasaSur Palermo Hotel in Buenos Aires, Argentina. He was 31.

According to a partial autopsy report, the hitmaker had cocaine, crack and the antidepressant benzodiazepine in his system when he died.