Ed Sheeran is not having a good year.

In June, songwriters Martin Harrington and Thomas Leonard filed a $20 million lawsuit against Sheeran, claiming that the British pop star copied their song Amazing almost note-for-note in his 2014 hit Photograph.

On Tuesday, Sheeran was again sued for copyright infringement, this time for his hit single Thinking Out Loud.

The suit was filed by heirs of Ed Townsend, who wrote the music and co-wrote the lyrics to Marvin Gayeโ€™s romantic anthem, Letโ€™s Get it On. It claims Sheeran copied major aspects of Letโ€™s Get it On for Thinking Out Loud.

โ€œThe Defendants copied the โ€˜heartโ€™ of Letโ€™s and repeated it continuously throughout Thinking,โ€ the lawsuit said. โ€œThe melodic, harmonic, and rhythmic compositions of Thinking are substantially and/or strikingly similar to the drum composition of Letโ€™s.โ€

This might not shock everyone. Comparisons have frequently been drawn between the tunes.

In March 2015, a Los Angeles jury decreed that Robin Thicke and Pharrell Williams owed Marvin Gayeโ€™s estate $7.3 million for copying the feel of Gayeโ€™s 1977 hit Got to Give It Up. The next day, Spin published an article titled, โ€œBlurred Lines Isnโ€™t Even the Biggest Marvin Gaye Ripoff This Decade.โ€

In it, Andrew Unterberger wrote: Thinking Out Loud is a very nice ballad, one whose seductive groove, sentimental lyric and full-hearted vocal has taken it all the way to No. 1 on Billboardโ€™s Pop Songs chart. It is also an incredibly obvious successor to Marvin Gayeโ€™s 1973 superlative slow jam Letโ€™s Get It On.