BBC News
A judge ruled on Wednesday that the singer-songwriter had not plagiarised the 2015 song Oh Why by Sami Chokri.
Chokri, a grime artist who performs under the name Sami Switch, had claimed the “Oh l” hook in Sheeran’s track was “strikingly similar” to an “Oh why” refrain in his own track.
Sheeran said he did not remember hearing Oh Why before the legal case.
Shape of You was the UK’s best-selling song of 2017 in the UK and is Spotify’s most-streamed ever.
It was co-written with Sheeran’s collaborators, Snow Patrol’s John McDaid and producer Steven McCutcheon, who also denied allegations of copying.
Legal proceedings were launched in 2018 and resulted in an 11-day trial in London last month.