Two months later, Chokri – a grime artist who performs under the name Sami Switch – and O’Donoghue issued their own claim for “copyright infringement, damages and an account of profits in relation to the alleged infringement”. The pair alleged that an “Oh I” hook in Shape Of You is “strikingly similar” to an “Oh Why” refrain in their own track.

During the 11-day trial at the Rolls Building in London, Sheeran denied he “borrows” ideas from unknown songwriters without acknowledgement and insisted he “always tried to be completely fair” in crediting people who contribute to his albums. The singer told the court he was trying to “clear my name” and denied using litigation to “intimidate” Chokri and O’Donoghue into abandoning the copyright dispute.

Lawyers for the Oh Why co-writers labelled Sheeran a “magpie”, alleging that he “habitually copies” other artists and that it was “extremely likely” he had previously heard Oh Why. Chokri told the trial he felt “robbed” by the music star and was “shocked” when he first heard Shape Of You on the radio.

But lawyers for Sheeran, McDaid and McCutcheon said the allegations against them were “impossible to hold”, with the evidence pointing to Shape Of You being an “independent creation”.