Passage: Principal photography began on April 11, 2016, with shooting taking place at Warner Bros. Studios, Leavesden, as well as various locations around London and Scotland. Additional filming took place in Chicago, Illinois, Los Angeles, and Djúpavík, in the Westfjords of Iceland. Snyder's longtime cinematographer Larry Fong was replaced by Fabian Wagner due to scheduling conflicts. Ben Affleck served as executive producer. In May 2016, it was revealed that Geoff Johns and Jon Berg would produce the Justice League films, and would also be in charge of the DC Extended Universe, after the largely negative critical reception to the theatrical cut of Batman v Superman: Dawn of Justice. The same month, Irons stated that the Justice League storyline would be more linear and simple, compared to the theatrical version of Batman v Superman: Dawn of Justice. Johns confirmed on June 3, 2016 that the title of the film is Justice League, and later stated that the film would be "hopeful and optimistic" in comparison to previous DC Extended Universe (DCEU) films.Justice League had a troubled production. During filming, it was reported that the rewrites by Geoff Johns caused issues with Chris Terrio and Warner Bros. executives. Warner Bros. was unsatisfied with how the film was shaping up under Snyder, because of the negative feedback that the theatrical version of Batman v Superman received. It was reported that Warner Bros. held a footage summit for writers that include Joss Whedon, Wonder Woman writer Allan Heinberg, Seth Grahame-Smith, and Andrea Berloff. This caused numerous rewrites as Justice League was filming. Whedon was eventually hired by Warner Bros. after Snyder stepped down for directorial duties during the post-production. Filming wrapped in October 2016.

Question: What was Ben Affleck's role in the film?
executive producer