Kesha believes Dr Luke raped Katy Perry, according to reports.

As Kesha’s ongoing legal battle with her former music producer continues, newly unsealed court documents have revealed the claims Kesha made to Lady Gaga.

Dailymail.com reports Dr Luke, real name Lukas Gottwald, said Kesha wrote in a text to Gaga that he had raped Katy when they worked together years ago.

“On Feb. 26, 2016, (Kesha) sent a text message to Stefani Germanotta p/k/a Lady Gaga which repeated (Kesha’s) false claim that Gottwald had raped her,” the court documents say.

“In this text message, (Kesha) also falsely asserted that Gottwald had also raped Kathryn Hudson p/k/a Katy Perry.”

“Following this text message conversation, and with (Kesha’s) encouragement, Ms Germanotta spread negative messages about Gottwald in the press and on social media. For example, in February 2016, Ms Germanotta posted multiple articles discussing defendant defamatory statements on her Twitter page.”

Katy has never publicly accused Dr Luke of rape. When asked last year by the New York Times why they parted ways, she only said “I had to leave the nest.” She is yet to comment on the new reports.

Kesha and Dr Luke have been locked in legal battles for several years. The current case, filed in New York, was made by Dr Luke, who is suing Kesha for defamation over her sexual abuse claims against him. He has denied any wrongdoing.