A federal judge in Los Angeles handed a major victory to Katy Perry on Tuesday, overturning a jury’s verdict that found the pop superstar and her collaborators copied her 2013 hit “Dark Horse” from a 2009 Christian rap song.

It’s expensive to promote a Katy Perry hit, a music executive told a jury that will decide how much the pop superstar and other collaborators on her 2013 song “Dark Horse” will pay the creators of a Christian rap song.

A jury on Monday found that Katy Perry’s 2013 hit “Dark Horse” improperly copied a 2009 Christian rap song in a unanimous decision that represented a rare takedown of a pop superstar and her elite producer by a relatively unknown artist.