A US judge has ruled that Katy Perry’s smash hit Dark Horse was not copied from a Christian rap song.

The ruling overturns a jury’s verdict from last summer, which said Perry’s song lifted an eight-note riff from Flame’s 2009 song Joyful Noise.

In her decision, US district Judge Christina A Snyder said the sequence of notes was not a particularly unique or rare combination.

As a result, Perry’s team no longer owe Flame $2.8m (¬£2.3m) in damages.

Perry’s Lawyer Christine Lepera had welcomed Judge Snyder’s ruling, calling it an important victory for music creators and the music industry.