Two US musicians are suing Ed Sheeran for $20m (£13.8m) over his single Photograph.
Martin Harrington and American Thomas Leonard claim it has a similar structure to their song, Amazing.
The pair say that Sheeran’s ballad has the same musical composition to their track, which was released as Matt Cardle’s winning X Factor track in 2010.
Martin Harrington and Thomas Leonard say they penned Amazing in 2009.
In documents, that include musical note comparison and chord breakdowns of the two songs, the pair claim the chorus of Photograph shares 39 identical notes with their track.
The court documents say that Photograph has sold more than 3.5 million copies worldwide.
It says it also features prominently in Hollywood drama Me Before You, released last week, as well as trailers for the film.
The lawsuit says: “Given the striking similarity between the chorus of Amazing and Photograph, (the) defendants knew when writing, publishing, recording, releasing, and distributing Photograph that they were infringing on a pre-existing musical composition.
“The conduct of (the) defendants has been wilful from the inception of the creation of Photograph.
“The copying of Amazing by Photograph is breath-taking in its deliberateness, magnitude, and hubris.”
Here’s Ed Sheeran’s track Photograph.