Because of the controversy going on between Dr. Luke and Kesha, it was uncertain if she was going to perform at the Billboard Music Awards this year, since his team had allegedly blocked the deal. But in the end, Billboard confirmed the good news that she would be able to take the award show’s stage.

“We are pleased that Kesha and Kemosabe Records have reached an agreement and very much look forward to having Kesha perform on the Billboard Music Awards this Sunday night on ABC,” said the Billboard organizers.

The singer gave an incredibly emotional performance of "It Ain't Me" to pay tribute to one of her idols, Bob Dylan. Check it out below.

In addition, Kesha has received a lot of support from fellow celebrities including Lena Dunham, Demi Lovato and Taylor Swift, through tweets, letters and hefty amounts of money for her legal team.

Tonight, Dick Clark Productions and ABC are all about honoring the year’s most successful artists in 43 categories at the “2016 Billboard Music Awards.” As promised, this year’s ceremony showcased big performances, unexpected collaborations and great pop culture moments.

The “2016 Billboard Music Awards” show, hosted by hip-hop artist and actor Ludacris and international music sensation Ciara, is produced by Dick Clark Productions.

As for the nominees, The Weeknd led the entire finalist pack with 19 entries in 16 categories including Top Artist, Top Male Artist and Top Hot 100 Song. Justin Bieber follows with 12 entries in 11 categories including Top Artist, Top Male Artist and Top Hot 100 Artist.

Fetty Wap and Drake were tied with 11 entries in 10 categories each, including Top Male Artist entries for both musicians. Drake competed against himself for Top Rap Album for “If You’re Reading This It’s Too Late,” and his collaboration with Future on “What A Time To Be Alive.”

Leading the ladies, Adele and Taylor Swift were tied with eight entries each including Top Artist, Top Female Artist, Top Billboard 200 Artist and Top Billboard 200 Album — all of which Taylor won last year.