Jemaine Clement
“Legion” creator Noah Hawley confirmed Jemaine Clement’s casting on the upcoming FX X-Men TV series. Pictured: Clement attends “The BFG” photocall during the 69th Annual Cannes Film Festival on May 14, 2016 in Cannes, France. Getty Images/Pascal Le Segretain

Jemaine Clement, one half of the musical comedy duo Flight of the Conchords, has joined the cast of “Legion” Season 1.

Clement’s casting on FX’s upcoming X-Men TV series was first teased by show creator Noah Hawley on his Instagram page. “Expect the unexpected #legion,” he wrote on the social networking site, alongside a photo of Clement.

Hawley confirmed Clement’s casting during the “Legion” panel at the New York Comic Con on Sunday, Oct. 9. Even though details about the New Zealand actor’s role are being kept under wraps, Deadline reported the 42 year old will play a character with a multi-episode arc.

Clement joins previously announced cast members Dan Stevens (David Haller), Jean Smart (Melanie), Rachel Keller (Syd), Aubrey Plaza (Lenny Busker), Jeremie Harris (Ptonomy), Amber Midthunder (Kerry), Katie Aselton (Amy) and Bill Irwin (Shrinkman).

“Legion” follows the story of David Haller (Dan Stevens), a dissociative identity disorder patient whose world starts to change when he is confronted with the possibility that the voices he hears and the visions he sees might be real.

During the panel, Hawley said that “Legion” is somehow similar with “Fargo,” an FX series which he also created.

“What I enjoyed with ‘Fargo’ is the idea that it seemed for the first three hours [of the show] completely unconnected to the [‘Fargo’] movie because it completely had to stand on its own two feet,” Hawley said (via Entertainment Weekly). “And I feel that way about this show, as well, which is that you gotta earn the right to be part of [the X-Men] universe, and my hope is to create something that is so strong that the people at the movie studios call up and say, ‘We’d be foolish not to connect these two things.’”

Clements’ recent acting credits include HBO’s “Divorce,” Comedy Central’s “Another Period” and Steven Spielberg’s “The BFG.” Aside from “Legion,” his other upcoming projects are Disney’s animated film “Moana” and the comedy flick “Humor Me.”

“Legion’s” eight-episode freshman run will air in early 2017.