Getting your day in court is supposed to give you chance to take the stand and speak for yourself. Ideally, you walk away empowered and secure in the knowledge that right has won out.

Unfortunately, this did not come to pass for Kesha. On February 19, the pop star entered the court to break a contract with Sony that forced her to work with a man who allegedly raped and assaulted her. By the end of the day, the contract remained firmly in place, and Kesha's future as a performer was murkier than ever. Here's what you need to know about how this court case came to pass and what it means for the "Warrior" singer.

A History Of Violence

Kesha began working with producer Dr. Luke (real name Luke Gottwald) back in 2006. Then 18, the singer signed what was a typical industry contract: an eight-album deal with Sony. It should have been the beginning of happy times for the young performer. But shortly after she turned 18, Kesha alleges that Dr. Luke drugged and raped her. This was only the beginning of what Kesha contends are 10 years of physical, emotional, and sexual assault at the hands of producer superstar Dr. Luke.

Taking A Stand

After years of abuse, Kesha finally found the strength and courage to file a lawsuit against Dr. Luke and Sony. She stated that continuing to work with such an abusive person was traumatizing, and filed an injunction to allow her to end her contract with Sony. Kesha made it explicitly clear that she cannot physically be around the man, and that this is a matter of physical and emotional safety. But there are financial considerations to be made as well: as long as the contract remains in place, Kesha cannot make music with anyone but Sony, and by extension, the man who allegedly abused her for a decade.

Hard Choices

This wasn't an easy decision for the rapper to make. Dr. Luke is widely considered one of the most powerful producers in the music industry, with countless hits under his belt. Kesha feared that speaking out against him would derail her career and leave her an outcast in the music industry. Additionally, Sony had a lot invested in Dr. Luke (and the money he brought in for the record label). But it eventually became too much for her to handle, and Kesha publicly plead for a chance to leave behind a painful past and make music on her own terms--free from the shadow of her abuser.

Money Talks

Unfortunately, things didn't turn out the way Kesha (and her legions of fans and famous supporters) had hoped; a Manhattan Supreme Court Judge rejected the request for an injunction that would have freed Kesha from the contract. Doing so would cause irreparable harm to Sony as a company, according to Judge Shirley Kornreich. That means that Kesha is bound to make six more albums with Sony (and by extension Dr. Luke). When the ruling was announced, the stunned singer broke down into tears.

Down But Not Out

Although Sony has publicly stated that Kesha does not have to work directly with Dr. Luke again, the singer has expressed concerns that they will push her album to the side in favor of supporting her accused abuser. Meanwhile, public opinion is very much on the rapper's side: the hashtags #FreeKesha and #BoycottSony have both been trending since the case concluded. And numerous famous stars have expressed their love and support for the suffering singer.

No Happy Ending

All of this may prove cold comfort to Kesha, who is (for the time being at least) trapped in a contract that binds her to a man that traumatized her and a company that stood by him. Her choices as of now are to work with Sony or not make music at all. Unless she can find a way out of this enforced hiatus and free herself from the laws that bind her to the record company, her career is effectively over.