Ed Sheeran landed a role in the upcoming FX drama “The Bastard Executioner” and it’s gonna be “dark”.

The show confirmed on its Twitter account that the British singer will play an “an ambitious and deadly” role in the television show.

“The Bastard Executioner” creator Kurt Sutter also confirmed that Sheeran will join the show.

The Hollywood Reporter wrote that the six-time Grammy nominee is set to play the character of Sir Cormac, “an ambitious and deadly protégé of a high-ranking church elder.”

Sheeran is a friend of Sutter, who is also the man behind the “Sons of Anarchy”, reported Time. They became friends after the singer tweeted that he was a fan of the hit drama show. The exchange of tweets led to a collaboration and Sheeran recording a version of Foy Vance’s “Make It Rain” for SOA’s penultimate episode.

“The Bastard Executioner” is billed as a “blood-soaked epic” telling the story of a 14th century warrior whose life is changed by “a divine messenger”, the Hollywood Reporter wrote.

Sheeran will join the cast that included Stephen Moyer of “True Blood” and SOA’s Katey Sagal. Sutter will also appear in the period drama, like what he once did on the bike-drama hit, the Hollywood Reporter added.

BBC said the show started filming in the UK this month and it will premiere in the US in October.

Earlier this year, Ed teased the TV role, saying he hoped fans would be surprised with his choice of genre.

BBC wrote the singer told The Sun, “It’s a medieval TV show and it’s really, really dark. It’s gruesome and it’s going to be fine because my friend wrote it. I feel like people would expect me to be in a romcom or something, so I wanted to be in something people don’t expect me to.”