Avengers: Age of Ultronis a 2015 American superhero film based on the Marvel Comics superhero team the Avengers , produced by Marvel Studios and distributed by Walt Disney Studios Motion Pictures . It is the sequel to 2012'sThe Avengersand the eleventh installment in the Marvel Cinematic Universe (MCU). The film was written and directed by Joss Whedon and features an ensemble cast that includes Robert Downey Jr. , Chris Hemsworth , Mark Ruffalo , Chris Evans , Scarlett Johansson , Jeremy Renner , Don Cheadle , Aaron Taylor-Johnson , Elizabeth Olsen , Paul Bettany , Cobie Smulders , Anthony Mackie , Hayley Atwell , Idris Elba , Stellan Skarsgård , James Spader , and Samuel L. Jackson . InAvengers: Age of Ultron, the Avengers must work together to defeat Ultron , a technological enemy bent on human extinction.
The sequel was announced in May 2012, after the successful release ofThe Avengers. Whedon, the director of the first film, was brought back on board in August and a release date was set. By April 2013, Whedon had completed a draft of the script, and casting began in June with the re-signing of Downey. Second unit filming began in February 2014 in South Africa with principal photography taking place between March and August 2014. The film was primarily shot at Shepperton Studios in Surrey , with additional footage filmed in Italy , South Korea , Bangladesh , New York , and various locations around England.
Avengers: Age of Ultronpremiered in Los Angeles on April 13, 2015, and is scheduled to be released on May 1, 2015, in North America, in 3D and IMAX 3D . Two sequels,Avengers: Infinity War Part 1andAvengers: Infinity War Part 2, are scheduled to be released on May 4, 2018, and May 3, 2019, respectively.
In the Eastern European country of Sokovia, the Avengers – Tony Stark , Steve Rogers , Thor , Bruce Banner , Natasha Romanoff , and Clint Barton – raid a Hydra outpost led by Baron Wolfgang von Strucker , who has been experimenting on humans using the scepter previously wielded by Loki . They encounter two of Strucker's experiments – twins Pietro , who has superhuman speed, and Wanda Maximoff , who can manipulate minds and throw energy blasts – and apprehend Strucker, while Stark retrieves Loki's scepter.
Stark and Banner discover an artificial intelligence within the scepter's gem, and secretly use it to complete Stark's " Ultron " global defense program. The unexpectedly sentient Ultron, believing he must eradicate humanity to save Earth, eliminates Stark's A.I. J.A.R.V.I.S. and attacks the Avengers during a victory party at their headquarters . Escaping with the scepter, Ultron uses the resources in Strucker's Sokovia base to upgrade his rudimentary body and build an army of robot drones. He recruits the Maximoff twins, who harbor a grudge against Stark for weapons responsible for their parents' deaths, and together, they visit the South African shipyard base of arms dealer Ulysses Klaue to obtain vibranium . The Avengers battle them, but Wanda subdues the heroes with haunting visions, causing the Hulk to run amok and forcing Stark to use his powerful "Veronica" armor to stop him.
A worldwide backlash and the doubts and fears Wanda's hallucinations have caused send the team into hiding at Barton's safehouse farm, where they meet Barton's wife, Laura, and children. Thor departs to consult with Dr. Erik Selvig on the meaning of the apocalyptic future he saw in his hallucination. Realizing an attraction between them, Romanoff and Banner plan to flee together after fighting Ultron. Nick Fury arrives and encourages the team to form a plan to stop Ultron. In Seoul , South Korea , Ultron forces Banner's friend Dr. Helen Cho to use her synthetic tissue technology, vibranium, and the scepter's gem to create the perfect body for him. When Ultron begins uploading himself into the body, Wanda is able to read his mind; discovering his plan for human extinction, the Maximoffs turn on Ultron. Rogers, Romanoff, and Barton hunt Ultron and retrieve the synthetic body, but Ultron captures Romanoff.
The Avengers fight amongst themselves when Stark secretly uploads J.A.R.V.I.S. – who is still operational after hiding from Ultron inside the internet – into the synthetic body. Thor returns to help activate the body with lightning, explaining that the gem on its brow – one of the six Infinity Stones , the most powerful objects in existence – was part of his " vision ". The robot and the Maximoffs join the Avengers, and the team heads for Sokovia, where Ultron has used the remaining vibranium to build a machine to lift a large part of the city skyward, intending to crash it into the ground to cause global extinction. As the city begins to lift, Banner rescues Romanoff, who awakens the Hulk for the battle. The Avengers fight Ultron's army while delaying Ultron from activating his plan's final procedure. Fury arrives in a Helicarrier with Maria Hill , James Rhodes and S.H.I.E.L.D. agents to assist in evacuating civilians, but Pietro dies when he shields Barton from a barrage of fire. A grieving Wanda abandons her post to destroy Ultron's primary body in revenge, inadvertently allowing one of his drones to activate his machine. The landmass plummets, but Stark and Thor overload the machine and shatter the city into pieces. In the aftermath, the Hulk, unwilling to endanger Romanoff by being with her, departs in a Quinjet, while the Vision confronts and then destroys Ultron's last remaining body.
Later, the Avengers have established a new base in upstate New York , run by Fury, Hill, Cho, and Selvig. Believing the Mind Stone is safe with the Vision, Thor returns to Asgard to learn more about the forces he suspects have manipulated recent events. Stark and Barton retire from the team, and Rogers and Romanoff prepare to train new Avengers: Rhodes, Wanda, the Vision, and Sam Wilson .
In a mid-credits scene , Thanos retrieves the Infinity Gauntlet and, dissatisfied by the failures of his pawns, vows to hunt for the Infinity Stones personally.