<Tr> <Th> Budget </Th> <Td> $200--293 million </Td> </Tr> <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>

Who plays peter parker in the amazing spider man 2