Robert Pattinson Confirmed As The New Batman

The 33-year-old will star as the beloved comic character in The Batman, which is slated for a June 2021 release.

After weeks of speculation, Warner Bros. studios confirmed to Variety on Friday that Pattinson had beaten other names on the shortlist for the role.

The Batman will be written and directed by Matt Reeves, who was behind the last two Planet of the Apes films.

The studio hasn't confirmed any other actors involved in the project or details on the plot.

READ MORE: Twitter's Flipping Its S**t Over Rob Pattinson Playing Batman

READ MORE: Holy Mushroom Kingdom Batman! Bruce Wayne Goes Full Frontal In New Comic

The film will track Bruce Wayne in the formative stages of Batman, hence the need for a younger star.

Pattinson follows in the footsteps of Adam West, Michael Keaton, Val Kilmer, George Clooney, Christian Bale and Ben Affleck in the iconic film role.

Affleck -- whose version of Batman was older -- was initially set to direct and star in the upcoming release, but left the project early on.

“I tried to direct a version of it and worked with a really good screenwriter, but just couldn’t come up with a version, I couldn’t crack it,” Affleck told TV host Jimmy Kimmel in February.

“So I thought it was time to let someone else take a shot at it. They got some really good people, so I’m excited.”

Ben Affleck speaks on stepping away from Batman on "Jimmy Kimmel Live!" in February this year. Image: Randy Holmes/ABC via Getty.

Pattinson fended off stiff competition for the part -- from fellow Englishman Nicholas Hoult in particular -- according to Deadline.

Since his breakout roles in Harry Potter and the Goblet of Fire and the Twilight series, Pattinson has spent several years pursuing smaller roles including The Lost City of Z, Good Time, High Life and The Lighthouse, which recently premiered at the Cannes Film Festival.

In 2017, Pattinson told "CBS Sunday Morning" why he enjoyed playing a gruff, unshaven bank robber in Good Time.

"I think so much of life people are trying to put you in a box and define you all the time," Pattinson said.

"It's just exciting to have a job where you're allowed to consistently break the walls of the box around you."

With CBS News.