A jury unanimously ruled Katy Perry guilty of copying elements of Christian rapper FLAME’s 2008 release, “Joyful Noise” on her 2013 hit single “Dark Horse” featuring Juicy J.

The two-day deliberation came to an end Monday (July 29), the Associated Press reports. The case kicked off in 2014 when FLAME, born Marcus Gray and his two co-authors Emanuel Lambert and Chike Ojukwuhis sued Perry along with the song’s other five co-writers and four corporations including Capitol Records and VEVO for distribution of the song. Gray argued “Dark Horse’s” memorable beat, comparing it to his track which features Lecrae and Jon Reilly.

“Dark Horse” was written by Perry and Kate Hudson with production from Dr. Luke, Max Martin and Cirkut. Juicy J, who wasn’t in court, wrote his featured verse. All parties claimed they never heard “Joyful Noise” and didn’t listen to Christian rap music. Gray said his song was seen and heard by millions and was featured on Our World: Redeemed, which was nominated for Grammy award for Best Rock or Rap Gospel Album.