The Amazing Spider-Man is a 2012 American superhero film directed by Marc Webb, based on the Marvel Comics character Spider-Man. It is a reboot of the Spider-Man film series, portraying the character's origin story and his development into a superhero while a high school student. The film stars Andrew Garfield in the title role, with Emma Stone as Gwen Stacy and Rhys Ifans as Dr. Curt Connors. Development of the film began with the cancellation of Spider-Man 4 in 2010, ending director Sam Raimi's Spider-Man film series that had starred Tobey Maguire, Kirsten Dunst and James Franco. Opting to reboot the franchise with the same production team, Sony Pictures Entertainment announced a July 2012 release date for The Amazing Spider-Man. James Vanderbilt was hired to write the script while Alvin Sargent and Steve Kloves helped fine-tune it. Pre-production involved auditioning many actors for the roles of Parker and Stacy.