Avengers 4: Endgame

Three weeks after Thanos used the Infinity Stones to disintegrate half of all life across the universe, Carol Danvers rescues Nebula and Tony Stark from deep space. They return to Earth and join the remaining Avengers—Natasha Romanoff, Bruce Banner, Steve Rogers, Rocket, Thor, and James Rhodes. They find the now-injured Thanos so they can take the Infinity Stones and reverse his actions, but he has already destroyed them to prevent further use. Thor decapitates Thanos.

Five years later, Scott Lang escapes the quantum realm and finds Romanoff and Rogers at the Avengers’ compound. Only five hours have passed for Lang instead of years, and he theorizes that the quantum realm can allow time travel. The three ask Stark to help them retrieve the Infinity Stones from the past so they can revert Thanos’ actions in the present, but he rejects them out of fear of losing his daughter Morgan. Eventually, Stark relents after reflecting upon the disintegrated Peter Parker, and works with Banner—who has merged his intelligence with the Hulk’s strength—to stabilize travel in the quantum realm. Romanoff recruits Clint Barton, now a vigilante following the disintegration of his family, while Banner and Rocket find a drunken, reclusive Thor in Norway.

The reunited Avengers split into several groups. Banner, Rogers, Lang, and Stark travel to New York City in 2012. Banner visits the Sanctum Sanctorum and convinces the Ancient One to give him the Time Stone, promising to return it. Rogers overcomes undercover Hydra agents and his 2012 self to retrieve the Mind Stone, but Lang and Stark’s attempt to steal the Space Stone fails and Loki escapes with it. Rogers and Stark use the last of their size-altering Pym Particles to travel to S.H.I.E.L.D. headquarters in 1970; they steal an earlier version of the Space Stone there and vials of Pym Particles from Hank Pym so they can return to the present.

Rocket and Thor travel to Asgard in 2013 to retrieve the Reality Stone from Jane Foster, and Thor obtains his hammer, Mjolnir. Barton and Romanoff travel to Vormir in 2014 and learn from the Soul Stone’s keeper, the Red Skull, that it can only be acquired by sacrificing someone they love. They briefly fight over which of them should die, before Romanoff sacrifices herself. On Morag in the same year, Nebula and Rhodes steal the Power Stone before Peter Quill can.[N 5] Rhodes returns to the present with the Power Stone, but Nebula is unable to after her cybernetic implants interface with those of her 2014 self. Through this connection, the Thanos of that time learns of present-day events and sends the 2014 Nebula to the present.

With all the Infinity Stones collected in the present, Banner uses them to restore everyone that Thanos disintegrated. The 2014 Nebula uses the time machine to transport Thanos and his ship to the present day, and he attacks the Avengers’ compound. Rogers, Thor, and Stark confront Thanos, and Rogers proves worthy to wield Mjolnir. However, Thanos overpowers them and summons his army to lay siege to Earth. Present-day Nebula convinces the 2014 version of her sister Gamora to turn on Thanos, and kills the 2014 version of herself. Now restored, Stephen Strange arrives with his fellow sorcerers, the other restored Avengers, the Guardians of the Galaxy, and the armies of Asgard, Wakanda, and the Ravagers. They fight Thanos’ army, and are eventually joined by Danvers. They attempt to return the Infinity Stones to the past, but Thanos retrieves them and plans to rebuild the universe with life that does not remember his actions. Stark steals the Stones back and disintegrates Thanos and his army. The energy this releases kills Stark.

Following a funeral for Stark, Thor appoints Valkyrie as the queen of New Asgard and joins the Guardians of the Galaxy. Rogers returns the Infinity Stones and Mjolnir to their original places in time before returning to his past to marry Peggy Carter and live out the rest of his life. In the present, an elderly Rogers passes his shield to Sam Wilson.