Katy Perry has shared a cryptic tweet after becoming embroiled in Calvin Harris' rant at Taylor Swift.

Katy Perry

Katy Perry

The 31-year-old star retweeted a message she wrote in May 2015 which read "time, the ultimate truth teller" after the 32-year-old DJ - who recently split from the 'Bad Blood' hitmaker - claimed his ex was trying to "bury" him "like Katy".

The raven-haired singer also shared an animated Gif on Twitter of US presidential candidate Hillary Clinton pulling a smug "I told you so"-type expression.

Katy's tweets come just hours after Calvin took to the social networking site to claim his former flame - who has infamously clashed with the 'Teenage Dream' hitmaker in the past - is trying to "tear [him] down" after she confirmed she wrote his latest song 'This Is What You Came For'.

In a series of tweets, he wrote: "Hurtful to me at this point that her and her team would go so far out of their way to try and make ME look bad at this stage though

"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

"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

"Please focus on the positive aspects of YOUR life because you've earned a great one

"God bless everyone have a beautiful day (sic)".

He also confirmed Taylor - who is now dating Tom Hiddleston - lent her vocals to part of his latest track and praised her lyrical abilities.

He tweeted, along with an upside down smiley face, after the report was confirmed: "And she sings on a little bit of it too. Amazing lyric writer and she smashed it as usual (sic)."

Earlier today (13.07.16), Taylor's representative confirmed she had penned his new tune, telling MailOnline: "Taylor Swift wrote 'This Is What You Came For' under the pseudonym Nils Sjoberg."

The pair dated for 15 months but their so-called "breaking point" reportedly came after Calvin was "disrespectful" by saying he'd never work with her while promoting the track.

They opted not to release the tune together at the time because they feared their relationship would overshadow the song.