Taylor Swift put aside her differences with ex-boyfriend Harry Styles and posed with him for a photo taken Aug. 25 at an afterparty for the 2013 Video Music Awards.

After Swift, 23, appeared to be mouthing "shut the f---k up" during One Direction's award presentation at the VMAs, she locked arms and smiled for the camera with Ed Sheeran, Styles and DJ Spiky Phil at the SoHo Grand Hotel Club Room in New York City. Styles, 19, and Swift stand on opposite ends in the respective picture but even so, the image is a shocking one since the exes have not been photographed together even one before following their breakup in early January.

"Hosting the VMA after party @grandlifehotels With Taylor Swift, Ed Sheeran & Harry Styles.' DJ Spiky Phil posted Monday with the Instagram photo.

Swift took home the Best Female Video award for I Knew You Were Trouble  at the VMAs. In her acceptance speech she called out her ex-boyfriend, Styles, by saying, "I also want to thank the person who inspired this song who knows exactly who he is because now I got one of these." After her speech the camera panned to the audience and showed Styles smiling at the cameras and clapping for Swift.

Justin Timberlake & *NSYNC VMA Performance was the Best of the Night, Celebs Say

Swift admitted in March that she wrote I Knew You Were Trouble about Styles when discussing her performance of the song at the BRIT Awards. One Direction watched from backstage when she performed the song at the time and speaking about how she channels her anger on stage, Swift said, "It's not hard to access that emotion when the person the song is about is standing by the side of the stage watching."

At the 2013 VMAs, One Direction took home the Best Song of the Summer award for Best Song Ever. The track was released in July.

PHOTOS: Video Music Awards 2013 Red Carpet Fashion

Get More:
2013 VMA, Artists.MTV, Music