Kesha has released her first single in four years.

The song, called Praying, is a piano ballad which seems to be aimed directly at her old manager Dr Luke.

The two have been locked in a legal battle for years, including allegations of sexual abuse made by Kesha which Dr Luke denies.

The singer has also written an essay documenting her struggles with depression, anxiety and an eating disorder over the past few years.

Warning: Third-party content, may contain ads

“This song is about coming to feel empathy for someone else even if they hurt you or scare you,” writes Kesha in her essay.

The chorus of the song includes the lyrics: “I hope your soul is changing, changing/I hope you find your peace”.

If they are directed at Dr Luke, they seem to suggest that Kesha is willing to move on from the ordeal with him.

The 30-year-old adds that she hopes the song “reaches people who are in the midst of struggles, to let them know that no matter how bad it seems now, you can get through it.”