In the summer of 2015, Ben Affleck will be able to say "I'm Batman," when he faces off against Henry Cavill's Superman in the upcoming "Man of Steel" sequel.

Warner Bros. announced Thursday night that the Academy Award winner, who was once rumored to direct a "Justice League" film for the studio and DC Comics, will don the cowl as Bruce Wayne, replacing Christian Bale after his iconic three-movie run as Christopher Nolan's Dark Knight.

The news came as somewhat of a shock to fans who have been following the casting rumors closely after director Zack Snyder announced at this year's San Diego Comic-Con that the follow-up to his Superman reboot would pit the two heroes against each other. Early casting rumors named actors like Josh Brolin and Ryan Gosling as potential candidates.

"Batman Vs. Superman," as it's rumored to be titled, will not be the first time that Affleck put on a costume for a superhero flick. He played Matt Murdock, the blind super-powered lawyer, in 2003's "Daredevil."

Check Out The Best Twitter Reactions To The Affleck/Batman Casting News

Snyder released a statement with the announcement saying, "Ben provides an interesting counter-balance to Henry's Superman. He has the acting chops to create a layered portrayal of a man who is older and wiser than Clark Kent and bears the scars of a seasoned crime fighter, but retain the charm that the world sees in billionaire Bruce Wayne. I can't wait to work with him."

You'll be able to see Affleck face off against Henry Cavill, returning as Superman, when the "Man of Steel" sequel opens in theaters on July 17, 2015.