Ed Sheeran scored another legal win.

According to Variety, the English singer-songwriter was awarded seven figures in his years-long copyright lawsuit over “Shape of You,” his Grammy-winning single that debuted in 2017. Though Sheeran won the case earlier this year—and was effectively cleared of wrongdoing—a British judge ruled the 31-year-old artist was entitled to $1.1 million to cover his legal fees.

“The starting point is to identify the winners and losers in the action because the general rule is that the unsuccessful party pays the costs of the successful party,” Judge Antony Zacaroli wrote in his decision, as reported by Variety. “There is no dispute as to this: [Sheeran] undoubtedly won and won on every substantial point [...] I consider it is appropriate that the claimants’ success is reflected in an order that their costs are paid by the defendants.”

In 2018, Sami Chokri and Ross O’Donoghue sued Sheeran for allegedly ripping of his 2015 record “Oh Why.” The plaintiffs claimed Sheeran, along with co-writers Steve McCutcheon and Johnny McDaid, copied “particular lines and phrases” from “Oh Why.” However, Zacaroli—who acknowledged clear similarities between the songs—determined the defendants “neither deliberately nor subconsciously” plagiarized “Oh Why” when writing “Shape of You.”

Sheeran previously addressed the win in an Instagram video, where he underscored the damage of these kinds of suits.

“While we’re obviously happy with the result, I feel like claims like this are way too common now and have become a culture where a claim is made with the idea that a settlement will be cheaper than taking it to court,” he said. “Even if there’s no base for the claim. It’s really damaging to the songwriting industry. There’s only so many notes and very few chords used in pop music. Coincidence is bound to happen if 60,000 songs are being released every day on Spotify.”