Pandora's decade-long rule has finally ended.

Disney and Marvel Studios' Avengers: Endgame, directed by Anthony and Joe Russo, has passed James Cameron's 2009 behemoth Avatar to become the top-grossing film of all time at the worldwide box office, not adjusted for inflation.

Marvel chief Kevin Feige and his team announced the milestone late Saturday afternoon after taking the stage at San Diego Comic-Con.

“A huge congratulations to the Marvel Studios and Walt Disney Studios teams, and thank you to the fans around the world who lifted Avengers: Endgame to these historic heights," Disney Studios co-chairman and chief creative officer Alan Horn said in a statement.

Through Friday, Avengers: Endgame's global gross was $2.7892 billion, $500,000 behind Avatar's $2.7897 billion. As of Sunday, Endgame's total was $2.790 billion, according to Disney.

At the end of last weekend, Endgame trailed Avatar by $7 million, at least on paper. In recent days, however, Disney found additional money when reconciling the pic's final global earnings, a process that occurs at the end of any film's run. That's in addition to $2 million or more from weekday ticket sales.

As fate would have it, Avatar is now part of the Mouse House empire following Disney's acquisition of much of 21st Century Fox in late March.

"Of course, even with the passage of a decade, the impact of James Cameron’s Avatar remains as powerful as ever, and the astonishing achievements of both of these films are ongoing proof of the power of movies to move people and bring them together in a shared experience," continued Horn. "The talented filmmakers behind these worlds have much more in store, and we look forward to the future of both the Marvel Cinematic Universe and Pandora.”

Avengers: Endgame has shattered numerous records since debuting in cinemas in late April.

Among other achievements, the superhero extravaganza scored the biggest global opening of all time with $1.22 billion, including an all-time high of $357.1 million domestically and $866.5 million overseas.

The film is the fourth outing in the blockbuster Avengers series and the 22nd film in the Marvel Cinematic Universe.

In late June, Avengers: Endgame was rereleased in theaters with roughly six minutes of new footage in a bid to surpass Avatar.

Endgame's totals stand at $853.4 million domestically and $1.9358 billion internationally.

This article originally appeared in THR.com.