That ends a dispute that lasted nearly a decade and damaged both careers.

The settlement comes before a trial that would have started next month.

Quotes attributed to Kesha and Dr. Luke were presented together on social media.

Article image

(L-R) Adam Lambert, Max Martin, Lukasz, Dr. Luke Gottwald and singer Ke$ha pose onstageKevin Winter/Getty Images

I am looking forward to closing the door on this chapter in my life and beginning a new one.

I wish nothing but peace to all parties involved.

I never drugged or assaulted her and would never do that to anyone.

WGA West building in Hollywood

For the sake of my family, I have vigorously fought to clear my name for nearly 10 years.

It is time for me to put this difficult matter behind me and move on with my life.

I wish Kesha well.

She claimed he had sexually, physically, verbally and emotionally abused her since she was a teenager.

Kesha said that in 2005, she was drugged and raped by Dr. Luke after a party.

No criminal charges were filed in the legal dispute.

Kesha and Dr. Luke had two No.

1 hits together, 2009s Tik Tok, and We R Who We R, in 2010.

Lawyers for Dr. Luke contended that the rape and abuse accusations were extortionist threats stemming only from contract negotiations.

Kesha said in a 2011 sworn deposition that Dr. Luke never made sexual advances at me.

Dr. Luke had to work under pseudonyms for a time from Kesha backlash.