Photo via Getty

Calvin Harris publicly blasted Taylor Swift on Wednesday after it was revealed she secretly co-wrote his hit "This Is What You Came For," which features Rihanna.

TMZ reported today Swift didn't their relationship at the time to overshadow the song, thus she used the pen name "Nils Sjoberg" and will still receive royalties off the track.

After Swift's team confirmed the report, Harris took to Twitter to clarify that while his ex wrote the lyrics, he "wrote the music, produced the song, arranged it and cut the vocals though. And initially she wanted it kept secret, hence the pseudonym.”

Harris then proceeded to explain that he was hurt by the way Swift's camp was going "so far out of their way to try and make ME look bad at this stage." And to further make his point, he said, "I figure if you're happy in your new relationship you should focus on that instead of trying to tear your ex bf down for something to do."

He went on to dig even deeper, referencing Swift's rumored feud with Katy Perry: "I know you're off tour and you need someone new to try and bury like Katy ETC but I'm not that guy, sorry. I won't allow it."

But he closed on a positive note, saying, "God bless everyone have a beautiful day." Famous last words, perhaps.