Katy Perry, Dr. Luke, Capitol Records, and others who worked on Perry’s 2013 song “Dark Horse” have been ordered to pay $2.78 million in damages to Christian rapper Flame (Marcus Gray), THR reports. This week, a federal jury in California ruled that Perry’s song infringes on Flame’s 2009 single “Joyful Noise.”

During the damages phase of the trial, jurors were told by Gray’s lawyers that the song had netted $31 million between the single, album, and concert DVD which featured the song. Capitol Records claimed that after expenses surrounding the song’s release, only a fraction of that money was actually retained. Perry herself reportedly owes over just over $500,000 in damages with the rest due by the label. Perry’s lawyer released a statement calling the verdict “a travesty of justice.”

“The writers of ‘Dark Horse’ view the verdicts as a travesty of justice. There is no infringement. There was no access of substantial similarity. The only thing in common is unprotectable expression—evenly spaced ‘C’ and ‘B’ notes—repeated. People including musicologists from all over are expressing their dismay over this. We will continue to fight at all appropriate levels to rectify the injustice.”

Read “What Led Zeppelin’s ‘Stairway’ Trial Says About Copyright’s Increasingly Blurred Lines” on the Pitch.