DUBLIN, IRELAND - JULY 24: Ed Sheeran performs at Croke Park on July 24, 2015 in Dublin, Ireland.  (Photo by Phillip Massey/W
Phillip Massey/WireImage

Ed Sheeran has made it known that he'd love to show up as an extra on Game of Thrones, but this might be better and perhaps not too far off the mark, all things considered. The singer-songwriter has locked down a recurring role on the upcoming FX drama series The Bastard Executioner.

According to the Hollywood ReporterThe Bastard Executioner tells the tale of a 14th century-era knight who trades one sword for another: That of an executioner. Sheeran's playing Sir Cormac, the understudy of a church elder who has his own deadly tendencies.

The TV series is currently filming, with a fall debut expected.

It won't be Sheeran's first appearance on the silver screen. Earlier this year, he popped up on the NBC series Undateable to sing Britney Spears' "Baby One More Time" as well as his own "Photograph" at an open mic night. (And in the nonfiction realm, the hourlong Ed Sheeran – Live at Wembley Stadium is coming to NBC in August.)

Sheeran has also expressed previous interest in the work of Kurt Sutter, who's helming The Bastard Executioner. Sutter created Sons of Anarchy, of which Sheeran was a professed fan and to which he contributed a cover of Foy Vance's "Make It Rain." Sutter's got a knack for casting musicians, too—Marilyn Manson did a six-episode arc on Sons.