The Flash star Rick Cosnett has signed for a recurring role on ABC’s new drama series Quantico. He’ll play Elias Harper, an openly gay, incredibly funny former defense attorney who used his rhetoric and savvy against FBI cases. Recruited by Miranda (Aunjanue Ellis) as an analyst for his brilliant mind, Elias is a debate-team type who loves to be right but also has a soft and kind-hearted side. Quantico revolves around a group of young FBI recruits, all with specific reasons for joining, who battle their way through training at the Quantico base in Virginia. One will launch a devastating terrorist attack on the U.S.

Cosnett, repped by Innovative Artists and Untitled Entertainment, plays Eddie Thawne on CW’s The Flash and recurred heavily on The Vampire Diaries. In addition to Ellis, Cosnett joins recently cast Josh Hopkins and Annabelle Acosta.

Quantico is executive produced by Joshua Safran, Mark Gordon, Nicholas Pepper, Jake Coburn and Robert Sertner. Produced by ABC Studios, the series premieres at 10 PM Sunday, September 27, at 10 PM.