The Flash‘s dearly departed Rick Cosnett is making a beeline to Quantico.

The actor is joining ABC’s promising new fall drama in the recurring role of Elias Harper, a brilliant former defense attorney recruited by Assistant FBI Academy Director Miranda Shaw (The Mentalist‘s Aunjanue Ellis) to work as an analyst. Elias is described as “very funny,” “kind-hearted” and “openly gay.”

The series follows a diverse new group of Quantico recruits — one of whom will one day be suspected of masterminding the biggest terrorist attack on U.S. soil since 9/11.

Cosnett, whose Flash character Eddie perished in the CW drama’s recent Season 1 finale, joins a cast that also includes Priyanka Chopra (Mary Kom), Jake McLaughlin (Believe), Josh Hopkins (Cougar Town), Yasmine Al Massri (Crossbones), Johanna Braddy (UnREAL), Tate Ellington (The Mindy Project) and Graham Rogers (Revolution).

Quantico premieres Sunday, Sept. 27 at 10/9c on ABC.