LOS ANGELES-Katy Perry and others must pay $2.78 million in damages after a jury ruled her hit ‘Dark Horse’ copied a Christian rap song.

The 34-year-old singer has been ordered to fork out $550,000 and her label Capital Records owe nearly $1.3 million after a federal jury in Los Angeles found parts of Katy’s tune - which was number one on the Billboard Hot 100 chart for four weeks in 2014 - resembled Flame’s 2008 song ‘Joyful Noise’.

Katy’s five collaborators will also have to pay out, including producers Max Martin, who has to stump up $253,000, and Dr Luke’s company Kasz Money Inc owes $189,000, while he is ordered to pay $61,000 personally.

Lawyers for Flame - whose real name is Marcus Gray - had sought nearly $20 million for him and his two co-writers, but were ‘’quite pleased’’ with the outcome.

Flame’s lawyer Michael A Kahn said in a statement: ‘’Our clients filed this lawsuit five years ago seeking justice and fair compensation for the unauthorised taking of their valuable creation.

‘’It has been a long and arduous path to this day, but they are quite pleased to have received the justice they sought.’’

After the jury made its verdict earlier this week, defence lawyers argued for an award of $360,000.

Following the $2.78 million decision, Katy’s lawyer Christine Lepera said: ‘’The writers of ‘Dark Horse’ consider this a travesty of justice.’’

She had argued Flame and his collaborators were trying to claim copyright for basic elements of music.

Christine told the courtroom: ‘’They’re trying to own basic building blocks of music, the alphabet of music that should be available to everyone.’’