LOS ANGELES (AP) — A copyright infringement lawsuit over Ed Sheeran’s hit “Photograph” has been settled.

A federal judge in Los Angeles dismissed the case on Monday based on a request by attorneys for Sheeran and the composers of a song called “Amazing.”

The composers, Martin Harrington and Tom Leonard, claimed “Photograph” was nearly identical in pitch, tempo and structure to their song.

The terms of the settlement were not included in court filings. Harrington and Leonard’s attorney Richard S. Busch said he could only confirm the case was settled.

“Photograph” topped pop charts throughout the world and sold more than 3.5 million copies.

“Amazing” was recorded and released as a single by Matt Cardle, winner of the 2010 season of TV’s “The X Factor.”

(Copyright (c) 2024 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox