Please rotate your screen to portrait for optimal viewing experience

Ed Sheeran settled a $20 million copyright infringement case with an 'X Factor' winnerby Circa News

English singer-songwriter settled a deal to end a $20 million lawsuit over his 2014 track "Photograph," which allegedly "copied" a song released by the winner of "The X Factor" in 2012, according to the Guardian. Sheeran was accused of copying "note-for-note" from Matt Cardle's track "Amazing."

Songwriters Thomas Leonard and Martin Harrington sued Sheeran, claiming he "unabashedly" took credit for their work.

“This copying is, in many instances, verbatim, note-for-note copying, makes up nearly one half of Photograph, and raises this case to the unusual level of strikingly similar copying,” Leonard and Harrington said in July. 

WATCH | Listen to Ed Sheeran's song, "Photograph"

WATCH | Listen to Matt Cardle's "Amazing"

The details of the settlement weren't revealed in court papers, but the presiding judge, James Selna, said the case had been dismissed after an agreement was struck between the two parties.