Taylor Swift Wrote Ex Calvin Harris and Rihanna's Hit 'This Is What You Came For,'Rep Shares and Harris Responds

image

Taylor Swift and Calvin Harris' sudden split was revealed in early June, and it appears the duo may have broken up over the deejay and producer’s hit with Rihanna.

“Taylor Swift wrote "This Is What You Came For” under the pseudonym Nils Sjoberg,“ the singer’s rep confirms exclusively to PEOPLE.

Harris also confirmed it in a series of tweets. He also took at swipe at his ex’s new romance with Tom Hiddleston.

Earlier on Wednesday, TMZ reported that Swift "wrote the song, sat down at a piano and did a demo into her iPhone,” which she then sent to Harris.

After recording a full demo, they agreed to keep the collaboration on the down-low, but Swift was hurt after Harris did an interview and said he couldn’t foresee working with his then-girlfriend in the future.

“You know, we haven’t even spoken about it. I can’t see it happening though,” Harris told Ryan Seacrest while promoting the song.

After meeting Hiddleston at the Met Ball in May, Swift’s friendship with the actor took a romantic turn weeks after her split from Harris, and the new couple have been globe-trotting in the last month.