Daniel Radcliffe’s latest film role is a far cry from his days as a boy wizard at Hogwarts.

The Harry Potter star portrays an undercover FBI agent who infiltrates a white supremacist terror cell in Imperium.

Daniel, 26, is sporting a shaved head and is shown performing a Nazi salute in the new trailer for the film.

Imperium tells the story of Nate Foster, played by Daniel, who must stick to his new identity while maintaining his principles in the dangerous underworld of white supremacy, according to Lionsgate.

The film, which is inspired by real events, also stars Toni Collette and is set for release in America in August.