Ben Affleck returns as Batman. The 48-year-old actor will star in the new film The Flash , director Andy Muschietti announced on Friday.

Affleck last played the comic book hero figure in Justice League three years ago . A year earlier, he also wore the Batman cape as character Bruce Wayne in Batman v Superman: Dawn of Justice and Suicide Squad .

In The Flash , which is separate from The Batman (in which Robert Pattinson acts as Batman) and is set to appear in 2022, Ezra Miller also plays the role of superhero Barry Allen.

“Ben is a big part of the emotional impact of the movie,” Muschietti told Vanity Fair . “The interaction between Barry and Affleck’s Wayne will bring an emotional level that we haven’t seen before. It’s Barry’s movie, it’s Barry’s story, but their characters are more related than we think.”