Katy Perry has been ordered to cough up $2.78 million after a jury found that Perry's song "Dark Horse" copied a 2008 Christian rap song titled "Joyful Noise" by Flame.

Rapper Marcus Gray has been fighting in court for more than five years and per Fox News, "survived constant court challenges and a trial against top-flight attorneys for Perry and the five other music-industry heavyweights who wrote her song."

"We weren't here seeking to punish anyone," said Gray's attorney, Michael A. Kahn. "Our clients came here seeking justice, and they feel they received justice from a jury of their peers."

According to TMZ, Perry will personally have to shell out $550k to the rapper while Capitol Records, who was also a defendant, will have to fork over a whopping $1.2 million.

The jury returned a unanimous verdict and is a massive win for Christian rapper Gray, who goes under the moniker, Flame.