A New York judge did not rule in Kesha's favor on Friday when she requested to end her recording contract.
The 28-year-old pop star was asking for a preliminary injunction that would allow her to get out of her record contract with Kemosabe Records, which is part of Sony Music. The request comes after Kesha's allegations that that 42-year-old songwriter/producer, Dr. Luke (Lukasz Gottwald), both drugged and raped her over a decade ago and consistently abused her both physically and emotionally. Dr. Luke has denied any wrongdoing.
Despite these claims, New York Supreme Court Justice Shirley Kornreich still would not "decimate a contract that was heavily negotiated."
Kesha through the years:
Kesha, who was dressed in all white, started sobbing when she heard the decision. She was seated in the back of the courtroom with her boyfriend, Brad Ashenfelter, and mother, Pebe Sebert.
"There has been no showing of irreparable harm," the judge said. "She's being given opportunity to record."
The decision came down after Dr. Luke's attorney claimed he had invested in Kesha's career and had agreed to let her to record without him.
More on AOL.com
Emma Watson is taking a year off from acting
Ronda Rousey says someone photoshopped images from her 'Tonight Show' appearance
You can visit Shia LaBeouf standing around in an elevator for 24 hours because art