Los Angeles: TV show 'The Flash' will have the first ever gay comic book supervillain in its upcoming episodes.

Pied Piper, played by Andy Mientus, 28, will make his debut in the show as The Flash's latest nemesis this week, reported the Daily Star.

"People don't expect a superhero show to go there. I think its really great to see a powerful, out gay character giving The Flash a run for his money," Mientus said.

The Pied Piper was caught up in the same explosion as The Flash but it turned him into a bitter baddie who can now manipulate sound waves.