Robert Pattinson has just been cast as the new Batman. The “Twilight” star will be replacing Ben Affleck for the iconic role.

The 33-year-old actor has tapped to play the role of Batman after Affleck failed to boost the success of “Batman V Superman: Dawn Of Justice” and “Justice League.” Pattinson’s first appearance as Bruce Wayne will be in Matt Reeves’ upcoming film “The Batman.” The project is slated for release in 2021.

Prior to being cast for the role of Batman, Nicholas Hoult was also in the running to play the role of the superhero. But since both actors are British, “Batman” fans debated on whether or not they should be cast as Batman.

But since Tom Holland was able to prove that British actors can play the role of American superheroes on Marvel movies, DC may have also made the same assumption. Pattinson was also tapped to play Batman because Affleck was already deemed to be too old for the role.

Affleck was reportedly not happy with the direction that his character was going that’s why he decided to no longer return to the franchise. The dad of three first confirmed the news when he appeared on “Jimmy Kimmel Live!”

Jennifer Garner’s ex-husband also said that he couldn’t develop a suitable script for Batman while working with director Reeves. But there are rumors that these are all just excuses because DC no longer saw him fit for the role. Affleck is 46 years old, and he will be 48 by the time “The Batman” hits theaters across the globe.

Meanwhile, Robert Pattinson’s age is not the only factor that makes him a good replacement for Affleck. He has also proven himself as a top-tier actor, which means that he could be the perfect counterpart to the character of Joker. The latter will also headline his own film called “The Joker By Phoenix” later this year.

Fans believe that Pattinson is suited for the role of Batman as long as he gets rid of one his bad habits: using his raspy voice on screen. The tactic was reportedly started by Christian Bale years ago.

Robert Pattinson Robert Pattinson speaking at the 2012 San Diego Comic-Con International in San Diego, California. Gage Skidmore/Flickr