Halloween director John Carpenter is set to team up with DC to write a new comic book about iconic Batman villain, The Joker, which will be released on October 9th.

The director will take part in DC's 'Year of the Villain’ series by writing a one-shot comic about the Joker, with illustrations will be handled by Philip Tan and Marc Deering.

Carpenter will co-write the strip with Anthony Burch, who previously collaborated with Carpenter on Big Trouble In Little China: Old Man Jack, a one-off comic that tied into the director’s 1986 classic starring Kurt Russell.

Joaquin Phoenix filming a scene for 'Joker' in Brooklyn on September 24, 2018 in New York City

"The Joker is the greatest villain in comics," Carpenter said in a statement.

 "This new comic puts The Joker on a mission to get his swagger back in a world gone bad by out-badding everyone else, proving that the greatest evil is always the one that leaves them laughing."

DC Comics have taken a darker direction with the character, with upcoming spin-off movie Joker starring Joaquin Phoenix set to be the first R-rated live-action Batman movie, with an emphasis more on horror than action.

71-year-old Carpenter, who is also said to be executive producing two new Halloween sequels as well as composing music for both films, recently said Joker wouldn't follow "anything" from the comic books.

In a move that fellow director Todd Phillips has said will likely upset fans, the writing team behind the film decided to abandon the story from the original DC Comics book series, which ran from 1975 to 1976, and instead create "the story of becoming Joker".

"We didn’t follow anything from the comic-books, which people are gonna be mad about," Phillips told the new edition of Empire magazine.

 "We just wrote our own version of where a guy like Joker might come from. That’s what was interesting to me. We’re not even doing Joker, but the story of becoming Joker. It’s about this man."