<Tr> <Th> Box office </Th> <Td> $709 million </Td> </Tr> <P> The Amazing Spider - Man 2 (also released as The Amazing Spider - Man 2: Rise of Electro in some markets) is a 2014 American superhero film featuring the Marvel Comics character Spider - Man . The film was directed by Marc Webb and was produced by Avi Arad and Matt Tolmach . It is the fifth theatrical Spider - Man film produced by Columbia Pictures and Marvel Entertainment, and is the sequel to 2012's The Amazing Spider - Man, it is also the final film in The Amazing Spider - Man franchise . The studio hired James Vanderbilt to write the screenplay and Alex Kurtzman and Roberto Orci to rewrite it . The film stars Andrew Garfield as Peter Parker / Spider - Man, Emma Stone as Gwen Stacy, Dane DeHaan as Green Goblin / Harry Osborn, Campbell Scott and Embeth Davidtz as Peter's parents, and Sally Field as Aunt May, with the addition of a new cast including Paul Giamatti as Rhino / Aleksei Sytsevich and Jamie Foxx as Electro / Max Dillon . </P> <P> Development of The Amazing Spider - Man 2 began after the success of The Amazing Spider - Man . DeHaan, Giamatti, Jones, and Cooper were cast between December 2012 and February 2013 . Filming took place in New York City from February to June 2013 . The film was released in 2D, 3D, and IMAX 3D on May 2, 2014, in the United States with two international premieres being held between March 31 & April 10, 2014 . The film received mixed reviews, and grossed $709 million worldwide making it the ninth highest grossing film of 2014 . </P> <P> The Amazing Spider - Man 2 was originally envisioned as the beginning of a shared fictional universe, which would have continued with two sequels and several spin - off films . Due to its performing below expectations, all subsequent installments were cancelled and a new iteration of the character, portrayed by Tom Holland, appeared in the Marvel Cinematic Universe, beginning with the 2016 film Captain America: Civil War, followed by a stand - alone film, Spider - Man: Homecoming in 2017 . </P>

When did the amazing spider man 2 come out