Though it was unclear whether she would actually get to perform at the 2016 Billboard Music Awards due to being blocked from doing so by her record label, Kesha did indeed perform on the show and made it a moment to remember.

Rather than singing one of her hits or "True Colors" -- her new track with Zedd -- the singer slowed things down with a cover of Bob Dylan's "It Ain't Be Babe" and she wasn't alone. The singer was accompanied by a violinist and Ben Folds on the piano.

Before taking the stage for her Billboard Music Awards performance, Kesha and Folds had a rehearsal at the pianist's Los Angeles concert on Thursday, May 19. In an Instagram note to Folds, she writes, "dear Mr. ben folds, thank u for tonight. thanks for letting me share your stage, your band, your audience, your humor, your songs. thanks for believing in me. thanks for being a positive and encouraging human in my life. thanks for ur records that got me through high school. thanks for being a genius composer. thanks for being nice when we work together. thanks for letting me play a Bob Dylan cover with you. thanKs for being a good friend in this scary business."

The appearances comes after a long legal battle for Kesha, who accused her producer Dr. Luke (real name Lukasz Gottwald) of drugging an raping her when she was when she was 18. It was February when a judge ruled she would not be dismissed from her recording contract with Dr. Luke and Sony Records.

Posted by:Chris E. Hayner

Chris E. Hayner is equal parts nerd, crazy person and coffee. He watches too much TV, knows more about pro wrestling than you do and remembers every single show from the TGIF lineup. You may have seen him as a pro-shark protester in "Sharknado 3." His eventual memoir will be called "You're Wrong, Here's Why..." TV words to live by: "I'm a firm believer that sometimes it's right to do the wrong thing."