Battle of Earth

"In all my years of conquest, violence, slaughter, it was never personal. But I'll tell you now, what I'm about to do to your stubborn, annoying little planet... I'm gonna enjoy it. Very, very much."

- Thanos to Captain America

The Battle of Earth was the culminating battle for the fate of the planet and the entire universe, fought amongst the Avengers and their allies united, against alternate timeline versions of Thanos, the Black Order, and their full arsenal of Outrider, Chitauri and Sakaaran armies. The monumental scale of the battle makes it one of the largest extraterrestrial conflicts in Earth's history.

The battle took place in the demolished ruins of the New Avengers Facility in New York, shortly after it was annihilated by Thanos' flagship, the Sanctuary II. After the Avengers rallied their own defenses in the Wakandans, Masters of the Mystic Arts, Ravagers, Asgardians and the Guardians of the Galaxy, both sides collided to a head in a massive assault, fighting for possession of the Infinity Stones. Many casualties from both battlefronts resulted from the battle.

With both sides vying for supremacy, the tide turned in favour of the Avengers when Captain Marvel used her cosmic powers to destroy the Sanctuary II, which up until that point pinned down the Avengers and gave Thanos the tactical advantage. The battle came to a decisive close when Iron Man sacrificed his life to activate the completed Iron Gauntlet, wiping out Thanos and his armies, effectively avenging the resurrected trillions who previously perished in the Decimation, and ending Thanos' war on Earth.

Tony Stark's Nightmare
"We can bust down arms dealers all the livelong day, but that up there? That's the endgame."

- Iron Man

In 2015, during the War on HYDRA, when the Avengers attacked Wolfgang von Strucker's base in Sokovia, Tony Stark was induced a horrific vision by Scarlet Witch of the impeding Battle of Earth, where the Avengers laid either dead or mortally injured, and a swarm of Leviathans were descending upon the planet under Thanos' command. Keeping this vision to himself, Stark became increasing fearful for the planet's safety. However, most of his efforts to protect the planet were mere stepping stones to place these grave events closer into motion, including the campaign against Ultron,, the Avengers Civil War, and inevitably, the Decimation.

Attack on the New Avengers Facility
"I'm thankful...because now...I know what I must do. I will shred this universe down to its last atom and then, with the stones you've collected for me, create a new one teeming with life that knows not what it has lost but only what it has been given. A grateful universe." "Born out of blood." "They'll never know it. Because you won't be alive to tell them."

- Thanos and Captain America

In 2023, five years after the Decimation, the Avengers began orchestrating a Time Heist to recollect the Infinity Stones from the past. During the Theft of the Power Stone, Thanos, from an alternate 2014 timeline, had learned from Nebula that the Avengers would defeat him, and reverse the Decimation. Now fully convinced that the universe wouldn't be grateful for his actions and wouldn't let go of the past, he set off with a new plan to destroy the current universe with the Infinity Stones, and start fresh to create a universe which Thanos had deemed to be peaceful. He sent Nebula (from his timeline) to infiltrate the Avengers, and shrink the Sanctuary II to their timeline in 2023.

Following the Reversal of the Decimation, Tony Stark, Steve Rogers and Thor rallied themselves and confronted Thanos after he destroyed the New Avengers Facility with bombs fired from the Sanctuary II. Sending The Mad Titan incapacitated Iron Man and overpowered Thor, but Rogers proved worthy to wield Mjolnir and intervened. He was eventually overpowered and his shield was split in half. Meanwhile, the Nebulas from both timelines fought each other, with the 2023 Nebula emerging victorious.

After being beaten by Thanos, Rogers got a message over his comms from Sam Wilson. Shortly after, portals created by Doctor Strange began to open up behind them, revealing the allies of the Avengers: the Guardians of the Galaxy, the Dora Milaje and the Wakandan tribes, the Masters of the Mystic Arts, the Asgardians and the Ravagers. Heroes who were decimated by Thanos also returned: Black Panther, Shuri, Falcon, Doctor Strange, Drax, Mantis, Star-Lord, Spider-Man, Winter Soldier, Groot, Scarlet Witch, and Wasp. Heroes who were not decimated by Thanos also appeared to aid the Avengers in battle: Pepper Potts, donning a new blue-and-silver armor, Okoye, M'Baku, Wong, Valkyrie, Korg, Miek, Howard the Duck, Kraglin, and Gamora from 2014. The two sides held a short standoff before Captain America gave the call sign and the two sides collided.

Battle
"You said one out of 14 million, we win, yeah? Tell me this is it." "If I tell you what happens, it won't happen."

- Iron Man and Doctor Strange

A violent war immediately begins between the Avengers, their allies and Thanos' army. Both sides collide with each other on the ground and in the air, as a giant Ant-Man punches a Leviathan to the ground. Iron Man and Pepper Potts fight together in the air, as Captain America and Thor trade Mjølnir and Stormbreaker as they fight off Chitauri. Iron Man is ambushed by Cull Obsidian, but he is saved as Spider-Man grabs the Black Order member with his web and causes him to fall, with the giant Ant-Man crushing him to his death by stepping on him. Spider-Man checks on his injured mentor and tries to put him to speed on what happened after the reverse of the Decimation, but Iron Man interrupts him by hugging him.

Star-Lord fights off several Chitauri who begin to outnumber him, but he is saved by Gamora. Star-Lord is shocked to see Gamora alive, not realizing she is not the Gamora he knew and tries to kiss her which prompted Gamora to kick him. She shows disgust that he is the one she ends up forming a relationship with, and Nebula comments that it was either him or "a tree".

Hawkeye runs around carrying the gauntlet, asking Captain America what he should do with it. Captain America tells him to take the stones as far away as possible, and Hulk says the stones must return where they came from, but they realize that Thanos' attack destroyed their Quantum Tunnel. Ant-Man reminds the group that they have another tunnel to use, calling the horn of Luis' Van as Valkyrie spots its location in the air, deep in the side of where Thanos' army is. As Captain America and Iron Man tell Ant-Man, with Wasp arriving by his side, to get the van started, they will hold off Thanos' army and deliver the stones to them. Iron Man meets up with Doctor Strange and asks if this is the outcome they win. Doctor Strange cannot tell him because if he does, it won't be. Ant-Man and Wasp arrive at the van but find it broken down, and Ant-Man is forced to hotwire it.

Thanos and the Black Order realize that Nebula is not answering their transmission, but immediately spot Hawkeye running away with the stones. With the Outriders closing in on Hawkeye, Black Panther drives them away and tells Hawkeye to give him the gauntlet as he fights through the Outriders to reach Luis' van. Thanos himself closes in on Black Panther but he is immediately confronted by an enraged Scarlet Witch, determined to avenge her lover's death and everything she lost because of him. As Scarlett Witch holds off Thanos, Black Panther continues to transport the gauntlet. He is then stopped in his tracks by Ebony Maw, but Spider-Man arrives to take the gauntlet himself, activating his suit's "instant kill mode" to horde off the Outriders chasing him.

Thanos is quickly overpowered by Scarlet Witch, as he orders the Black Order to call an airstrike on the battlefield. The Black Order comply and call a rain of missiles on the battlefield, and Scarlet Witch is blown aside as well as the entirety of the Avengers and allies, with the Masters of the Mystic Arts summoning shields to protect the entire army. Doctor Strange uses his powers to protect the army from a wave of seawater approaching them from the airstrike. As Spider-Man is being greatly outnumbered by the Outriders, he is saved by Captain America, Pepper Potts, and Valkyrie, who help him get closer to Luis' van. The Avengers army is pushed back by the airstrike, but every weapon suddenly stops firing at them and aims at the sky. Confused, Iron Man is told by F.R.I.D.A.Y. that something suddenly entered the atmosphere. Captain Marvel arrives and blows off the assault, single-handedly destroying the Sanctuary II.

Captain Marvel greets Spider-Man and takes the gauntlet from him, and as the two are approached by a large number of Outriders and Chitauri, they are immediately supported by Pepper Potts, Scarlet Witch, Mantis, Okoye, Shuri, Valkyrie, Wasp, Gamora, and Nebula, who all assault Thanos' army and create a path for Captain Marvel. With Luis' van restored, Captain Marvel makes a beeline towards the Quantum Tunnel, but it is quickly destroyed by Thanos throwing his sword at it, with the explosion sending Captain Marvel reeling back and the gauntlet on the ground un-secure. To secure the gauntlet, Thanos and Iron Man wrestle for it, but Iron Man is immediately overpowered. Thor and Captain America try to assist, but they are also overpowered by Thanos. Thanos retrieves the gauntlet and tries to put it on, but he enters a heated battle with Captain Marvel, who is unaffected by Thanos' hits and completely overpowers him. Cornered, Thanos grabs the Power Stone from the gauntlet and uses its power to knock Captain Marvel away. Iron Man takes one look at Doctor Strange, who reveals to him that this is the outcome in which they win.

As Thanos puts on the gauntlet once more, a weakened Iron Man once again tries to fight Thanos off but he is brushed aside. Now able to complete his plan, Thanos puts on the gauntlet and snaps, but nothing happens. He quickly realizes that the stones have been taken out of the gauntlet and inserted into Stark's armor. Muttering the words "I Am Iron Man", Stark snaps his fingers.

Aftermath
"Hey, Pep..." "Tony, look at me. We're gonna be okay. You can rest now."

- Tony Stark and Pepper Potts

The effects of Stark snapping his fingers quickly became apparent, as Thanos' entire army, eventually Thanos himself, disintegrate into thin air, prompting the complete victory of the Avengers and their allies. Stark collapsed onto the ground and laid against a mound of wreckage. Rhodes landed by his side and realized in horror that Stark's injuries from the Stones' gamma radiation were fatal; the right half of Stark's body was charred so badly that Stark could not even speak. Spider-Man also rushed toward Stark, proclaiming victory before realizing tearfully that Stark was dying. Stark's wife Pepper Potts joined Rhodes and Spider-Man, and Stark managed to acknowledge her, placing her hand on his chest as a final gesture of love to his wife, who assured him of their victory. Stark died and his arc reactor permanently powered down, leaving Potts, Spider-Man, and War Machine to weep with his fellow Avengers looking on in sadness; they had lost not only the hero who saved the universe from Thanos, but also a husband, a father, a mentor, a comrade, and a best friend.

Stark was laid to rest at his riverside home, with all the allies he had and his friends had made on their respective journeys attending. A wreath holding Tony's Mark I chest piece, inscribed by Pepper with the words "Proof That Tony Stark Has A Heart", was laid on the river and floated away. Happy Hogan comforted Morgan Stark during the funeral and asked if she was hungry. Morgan responded to Hogan that she wanted cheeseburgers, with Hogan saying that he would get her all the cheeseburgers she wanted if it made her happy.

Thor passed his leadership to Valkyrie as the new leader of the New Asgard, and he later joins the Guardians of the Galaxy. Peter Quill continues his search for Gamora since she mysteriously disappeared after the battle.

Following the funeral, Captain America took it upon himself to return the Infinity Stones to the separate timelines where they had been taken, as well as Mjolnir, which Thor had recovered in the same timeline they had retrieved the Reality Stone, in order to prevent the possibility of alternate, horrific timelines without the stones that the Ancient One had described to Bruce Banner. Banner, Bucky Barnes, and Sam Wilson saw Rogers off as he used the Quantum Portal to return the items, with Banner stating that it would take him "as long as he needed" while for them only five seconds would pass.

As Steve Rogers disappeared through time, Banner prepared to return him on the count of five; however, after five, Rogers did not return, despite Banner's efforts. Fearing the worst, that perhaps he had failed somewhere, Banner and Wilson panicked, whilst Barnes noticed an old man sitting alone on a bench on the shore of the lake. Barnes called Wilson over, who understood what the man meant immediately, walking over to reveal an aged Rogers sitting by a circular bag.

Rogers reminisced over the memories they had shared, and pulled the bag over, opening it; it contained Rogers' shield. Rogers asked Wilson to try it on, and in doing so, Wilson mused over the retirement of Rogers, saying that America would never be the same without its captain, a statement to which Rogers bestowed the title of Captain America unto Falcon. Sam, shocked, accepted the honor and told Rogers that he would do his best. As they shook hands, Wilson noticed a wedding ring on Rogers' ring finger and asked him to elaborate on his wife, to which Rogers simply said "No. No, I don't think I will", reminiscing upon a dance that he and Carter had in a suburban neighborhood home before sharing a kiss.