SOUTHWOLD, ENGLAND - JULY 17: Ed Sheeran performs on day 2 of Latitude Festival at Henham Park Estate on July 17, 2015 in Southwold, England. (Photo by Dave J Hogan/Getty Images)

Ed Sheeran has appeared as a soldier in Game of Thrones.

The pop star sings, and speaks briefly, during his cameo in the episode, which aired early this morning.

Titled Dragonstone, it’s the first episode of the seventh series of the US fantasy TV show.

The 26-year old’s performance has divided fans on social media.

Ed’s character, who is not named, is seen singing around a campfire in the forest.

When Maisie Williams’s character Arya Stark rides past on horseback, she tells him, “It’s a pretty song, I’ve never heard it before.”

“It’s a new one,” Sheeran replies.

Ed celebrated his appearance in a series of photos on Instagram.

View this post on Instagram

Throwback to the time I was a Lannister

A post shared by Ed Sheeran (@teddysphotos) on