Darren Criss
“Glee” alum Darren Criss was cast as the villain Music Meister in the upcoming musical crossover event between “The Flash” and “Supergirl.” Pictured: Criss attends the 2015 Victoria's Secret Fashion Show at Lexington Avenue Armory on Nov, 10, 2015 in New York City. Getty Images/Mike Coppola

Darren Criss confirmed on Twitter that he’s playing the villain Music Meister in the much anticipated musical crossover event between “The Flash” and “Supergirl.”

Minutes after TVLine broke the casting news, Criss tweeted that getting his University of Michigan and “Glee” friends to show their “real superpowers” in the upcoming crossover is music to his ears.

Criss and Carlos Valdes, who plays Cisco Ramon on “The Flash,” are both graduates of University of Michigan. While studying there, Valdes joined the theater group StarKid Productions, which was co-founded by Criss.

Grant Gustin and Melissa Benoist — who portray the titular roles on “The Flash” and “Supergirl” — were Criss’ co-stars on “Glee.” Gustin was introduced in Season 3 of the FOX musical series as Sebastian Smythe, a quasi-villain whose flirtation with Criss’ Blaine Anderson stoked jealousy in Chris Colfer’s Kurt Hummel. Benoist, meanwhile, played Marley Rose in Seasons 4 and 5 of “Glee.”

“With our Flash and our Supergirl being ‘Glee’ alums, how could we not have them go up against another ‘Glee’ favorite like Darren Criss?” executive producer Andrew Kreisberg told TVLine, revealing Criss’ casting for the first time. “We have been blown away by his talent over the years and we can’t wait to see what he brings to the Music Meister.”

Music Meister was created by Michael Jelenic and James Tucker for the animated series “Batman: The Brave and the Bold’s” own musical episode, “Mayhem of the Music Meister!” In the episode, Music Meister — who has the power to control people through song —falls for Black Canary until she rejects him due to her feelings for Batman. Music Meister was voiced by Neil Patrick Harris on the Cartoon Network series.

As revealed last week, the musical will kick off at the end of “Supergirl’s” March 20 episode and will continue the next night in “The Flash’s” March 21 episode, where the bulk of the action will take place. The second installment of the crossover, titled “Duet,” will be directed by Dermott Downs.

What do you think of Criss’ casting as the Music Meister? Sound off in the comments below!