The 28-year-old pop star was in tears after being denied a preliminary injunction that would allow her to get out of her contract with Kemmosabe Records, part of Sony Music, following the singer's allegations that Dr. Luke (Lukasz Gottwald), 42, drugged and raped her over a decade ago and consistently abused her both physically and emotionally. Dr. Luke has denied any wrongdoing.

After the news, several stars expressed their support for the singer and outrage over the ruling on Twitter.

"There are people all over the world who love you @KeshaRose. And I can say truly I am in awe of your bravery,” Lady Gaga wrote.

"Trying 2 not say anything since I can't say anything nice about a person... so this is me not talking about Dr. Luke,” tweeted Kelly Clarkson, whose single "Since U Been Gone" was written and produced by Dr. Luke.

Trying 2 not say anything since I can't say anything nice about a person... so this is me not talking about Dr. Luke https://t.co/lLhtUHbmgG

Iggy Azalea also took to Twitter to voice her opinion on the matter, tweeting, "If two people dont want to be in business with one another it seems very cruel for one to hold the other in a contract. Im not accusing anyone of anything, but i believe Kesha deserves the ability to move forward, create and earn a living."

If two people dont want to be in business with one another it seems very cruel for one to hold the other in a contract.

"I don't understand what her problem is," New York Supreme Court Justice Shirley Kornreich said in response to the request for injunction, saying that she would not "decimate a contract that was heavily negotiated."

Despite the unfavorable ruling, Kesha's fans gathered outside the courtroom to show their support.