People.com Celebrity Taylor Swift Wrote Ex Calvin Harris and Rihanna's Hit 'This Is What You Came For,' Her Rep Confirms The "Shake It Off" singer wrote the smash hit under the pseudonym Nils Sjoberg, PEOPLE confirms By Melody Chiu Melody Chiu Instagram Twitter Melody Chiu is a Senior Editor for PEOPLE. She has been with the brand since 2009, editing, writing and reporting across all entertainment verticals. She oversees PEOPLE's music and events coverage and has written cover stories on Taylor Swift, Selena Gomez, Melissa McCarthy, Blake Shelton and Sandra Oh. The Los Angeles native graduated from the University of Southern California and has appeared on Extra!, The Talk, Access Hollywood and Good Morning America. People Editorial Guidelines Published on July 13, 2016 10:35 AM Share Tweet Pin Email Photo: AKM-GSI 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. 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. “Lightning, this is what you came for / Lightning strikes every time she moves / And everybody’s watching her,” read the lyrics. “We go fast till they can’t replay / Who knows why it’s gotta be this way / We say nothing more than we need / I say “your place” when we leave.” 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. RELATED VIDEO: Elvis Duran Dishes on Calvin Harris and Rihanna’s Hit Song If ‘This Is What You Came For’ After meeting Tom 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.