Ed Sheeran has admitted that he forgot he wrote Justin Bieber's Cold Water.
The massive hit was sung by the Canadian and produced by American DJ Diplo.
"That was a weird one because I didn't even know that song existed," he said.
Cold Water: Ed forgot he helped write one of the biggest songs of 2016 | YOUTUBE
The musician admitted that he was contacted by Diplo who said the song was "dope" and he wanted to record it.
"It was a song I must've half-written somewhere at a time where I was writing a lot of songs - and then I got an email from (producer) Diplo just being like, 'Yo! That Cold Water song is dope! Can I have it?'" he explained in a radio interview with Carson Daly on 97.1 AMP.
"I was like, 'I have no idea what you're talking about', so I just didn't reply.
"And then he emailed and was like, 'Yo, Justin wants to hop on the Cold Water song. Is that cool?'
"And I'm just like, 'What are you talking about...?'
Dope: Diplo praised Ed about his "dope" song | VIPIRELAND.COM
When the song did hit airwaves, Ed eventually remembered what song Diplo was talking about.
"Then the song came out and it was number one and I was like, 'Oh, that song!'" he recalled.
"I remember doing it, but it was really, really slow. I remember hearing it and being like, 'That kind of sounds like me. Oh wait, it was me!'
"[Justin] did have input on it. I wouldn't say it was just all me."
Love Yourself: Ed wrote another song that Justin took | VIPIRELAND.COM
The Brit also revealed that Justin's song Love Yourself was originally written for Ed's upcoming album, Divide - but said that he would have dumped the tune before even recording it.
"That was a song I had written for Divide. Justin took it and did his thing on it, and released it as a single and made it what it is.
"So, going from a song that would have never been released to [being] the biggest song of last year.
"It just shows you that you shouldn't always write stuff off," he added.