Actor Tom Felton is moving from the wizard world of Harry Potter to the DC Comics universe.

The 28-year-old has landed a role in superhero series The Flash, which airs on Sky One in the UK.

Felton, who played villain Draco Malfoy in the Harry Potter films, has been cast as crime scene investigator Julian Dorn in the hit US TV show.

A tweet from the official account for The Flash confirmed Felton was joining the cast for the third series.