The Flash has cast its maker.

The CW’s Arrow spin-off pilot has tapped Ed alum Tom Cavanagh to play Harrison Wells, a rock star physicist who had a hand in shaping Barry Allen’s new reality, TVLine has learned.

RELATED | Pilot Season 2014: Your Complete Guide to This Fall’s (Possible) New Shows and Who’s In Them

Wells is the mind and money behind Central City’s S.T.A.R. Labs Particle Accelerator. After the lab’s explosion, he becomes a pariah but finds the road to redemption when he discovers that his failed experiment unintentionally created the world’s fastest man.

He joins the previously cast Candice Patton (as Barry Allen’s best friend Iris West), Jesse L. Martin (as Barry’s father figure — and Iris’ dad — Central City Detective West), Carlos Valdes (as engineering genius Cisco Roman), Danielle Panabaker (as bioengineering expert Caitlin Snow), Rick Cosnett (as Detective Eddie Thawne) and Grant Gustin (as the titular speedster).

Cavanagh’s more recent TV credits include Royal Pains, Scrubs, Trust Me and Eli Stone.