Avengers: Endgame is now the highest-grossing film of all time, Disney announced during its panel at the San Diego Comic-Con on July 20. 

The 2019 superhero blockbuster, originally released globally in April, finally surpassed the global ticket sales of James Cameron’s sci-fi film Avatar, which had held the record since 2009.

All in all, Endgame has grossed $2.79 billion at the global box office, besting Avatar‘s total by only about $1 million. 

Avatar needed a mere 41 days to beat the previous record holder, Titanic (also directed by Cameron), while it took Endgame 85 days to get past Avatar.

Cameron, who’s busy filming the long-awaited sequels to his original 2009 record setter, tweeted his congratulations to the Marvel movie:

There is no doubt that Endgame‘s manifold box office achievements are impressive: Not only is it now the biggest movie of all time, but it also had the largest opening of all time (even adjusted for inflation), the highest opening weekend market share ever (a staggering 90%), and the fastest time to $1 billion (just 5 days).

And yet, Endgame squeaking into the lead as the highest-grossing film of all time does not change the fact that Avatar‘s slightly lesser total is, holistically, the far greater accomplishment.