Affleck, who is 41, will star opposite Henry Cavill, the British actor, who will reprise the Superman role from Man of Steel, the Superhero’s most recent film.
Zack Snyder, the movie’s director revealed the superhero film last month during a San Diego comic convention. Production on the new movie will begin sometime in 2014, and will be released during the summer of 2015.
Greg Silverman the President of Warner Bros said in a prepared statement that everyone involved knew an extraordinary actor was needed to fill the role of the most enduringly popular super hero from DC Comics, and Affleck fits that bill and more.
Snyder, who was the Man of Steel director, said that Affleck would provide a very good counter-balance to Cavill, the 31-year old actor.
The sequel, which to date does not have a title, is set to reunite stars from the Man of Steel Amy Adams, Diane Lane and Laurence Fishburne.
Christian Bale is the most recent actor to play Batman in the Dark Knight trilogy director by Christopher Nolan. George Clooney and Michael Keaton have also worn the cape and black mask in movies done previously about Batman.
Argo, a film that Affleck directed and starred in, was the winner of an Academy Award earlier in the year for Best Picture.
The genre of superhero is not something new to Affleck. He has starred previously in the 2003 Daredevil film as the blind hero based on Marvel Comics.
Superman and Batman however are part of rival DC Comics, which is owned by Warner Bros.
Box office receipts from the recent films of both Batman and Superman have passed the $1 billion mark.