Harry Potter actor Tom Felton has been tapped for a series regular role in season 3 of the CW’s The Flash. Felton will play Julian Dorn, a fellow CSI at the Central City Police Department who suspects there’s more to Barry Allen than just his good guy reputation.

In Season 3, The Flash will take on DC Comics’ Flashpoint Paradox storyline, with star Grant Gustin teasing, “We’re definitely doing this [Flashpoint] thing our own way…. This will be its own thing.” In DC Comics, the Flashpoint miniseries saw Barry Allen travel back in time to save his mother from being killed. Unfortunately, when he succeeded he ended up changing the DC universe drastically: among other things, Captain Cold is Central City’s greatest hero, Bruce Wayne was killed instead of his father, Thomas Wayne, who ended up becoming Batman instead, and Wonder Woman and Aquaman’s respective countries are at war.

Felton played Draco Falfoy in all eight Harry Potter films. His TV work includes a co-starring role on TNT’s Murder in the First, along with guest star/recurring roles in DirecTV’s Full Circle and Labyrinth miniseries.

Felton’s casting was first reported by Deadline’s sister pub TVLine.