On Thursday in Manhattan federal court, Ed Sheeran performed and played the chord progression to his popular song Thinking Out Loud.
While testifying over allegations that he plagiarized Marvin Gaye's song Let's Get it On.
The British singer-songwriter revealed how he wrote the song about everlasting love in 2014.
Shortly after starting a new romantic relationship and after his grandfather passed away.
While testifying as the first witness in his own defense before a crowded courtroom.
"I draw inspiration from a lot of things in my life and family," said Sheeran, adding that the song was motivated by the affection he saw between his grandparents.
The 32-year-old is being sued by the estate of Ed Townsend, who collaborated with Gaye on the song in 1973.