NEW YORK: Pop star Kesha’s former music producer on Monday said allegations that he had raped the singer were lies, and hit back at a “trial by Twitter” backed by some of music’s biggest names over Kesha’s bid to extricate herself from a recording contract.

Dr. Luke, whose real name is Lukasz Gottwald, posted a series of tweets saying that people supporting Kesha’s claims of sexual assault against him were “getting behind an allegation only — motivated by money.”

“I didn’t rape Kesha ... Kesha and I were friends for many years and she was like my little sister,” the producer said.

“But lives can get ruined when there’s a rush to judgment before all the facts come out ... It’s sad that she would turn a contract negotiation into something so horrendous and untrue,” he added.

Anger and sympathy for the “Tik Tok” singer swelled after a New York judge ruled on Friday that Kesha, 28, could not be released from her six-album recording contract with Sony Music.

Kesha claimed in a 2014 lawsuit that Dr. Luke raped and emotionally manipulated her. Dr. Luke countersued and both cases have yet to come to trial.

Singer Taylor Swift has donated $250,000 to Kesha to help her financial needs, while Lady Gaga, Kelly Clarkson, Miley Cyrus and Ariana Grande are among hundreds who have posted messages on Instagram and Twitter to the fast-growing #FreeKesha campaign.

“Most important for Kesha, is that these beautiful, powerful women are standing behind her, letting the world see how powerful the truth is!” Kesha’s mother, Pebe Sebert, posted on Twitter on Sunday.