Avatar’s 10-year reign as the world’s highest-grossing film has ended.

On Sunday, Marvel’s Avengers: Endgame crossed $2.7902bn (£2.23bn) at the box office, pushing it over the $2.7897bn earned by James Cameron’s sci-fi epic.

Marvel chief Kevin Feige hailed the achievement at Comic-Con in San Diego this weekend, although it was still officially $500,000 short at the time.

In the UK, however, the film can only claim fifth place on the all-time box office chart.

Star Wars; The Force Awakens is still the country’s top-earning movie, after taking £123.2m at the box office in 2015.

It is followed by two Bond movies, Skyfall and Spectre, and Avatar, which is £3m ahead of Endgame’s current tally of £91m.

Zoe Saldana and Sam Worthington in Avatar
Image captionThree more Avatar sequels are in the works

The Force Awakens is also the box office champion in North America, meaning Endgame’s record-breaking haul was down to a strong international showing.

The film, which starred Robert Downey Jr as Iron Man, Scarlett Johansson as Black Widow and Chris Hemsworth as Thor, collected $629m in China, $105m in South Korea and $85m in Brazil.

Disney boss Alan Horn said fans had taken the film to “historic heights”.

All-time box office chart
FilmBox office (billions)
1) Avengers: Endgame (2019)$2.790
2) Avatar (2009)$2.789
3) Titanic (1997)$2.187
4) Star Wars: The Force Awakens (2015)$2.068
5) Avengers: Infinity War (2018)$2.048
6) Jurassic World (2015)$1.671
7) Marvel’s The Avengers (2012)$1.518
8) Furious 7 (2015)$1.516
9) Avengers: Age of Ultron (2015)$1.405
10) Black Panther (2018)$1.346

Avengers: Endgame has not just been a success at the box office – it has also drawn widespread critical acclaim.

Reviews when it was released spawned descriptions such as “glorious”, “irresistible”, “intensely satisfying” and “masterful”.

Its score on reviews aggregator Rotten Tomatoes is over 90%.

Disney bought Marvel Studios in 2009 and recently completed its acquisition of Fox, which owned the rights to Avatar.

That means the “House of Mouse” is now home to seven of the top 10 highest-grossing films of all time – including all four Avengers films.

Marvel announced its next 10 superhero movies, with seven due in 2021 alone, at Comic Con in San Diego this weekend.

Avengers: Endgame has set numerous box office records already – including the biggest global opening of all time at $1.22bn when it was released in April, breaking the record of 2018’s Avengers: Infinity War.

An Avengers: Endgame re-release with added footage at the end of June, and the recent release of Spider-Man: Far from Home, helped give Endgame a box-office boost.

It finally surpassed the $2.9bn mark on Sunday – but box-office figures are not adjusted for inflation and Avatar would still be ahead if they were.

Even then, though, James Cameron’s ecological allegory wouldn’t be the top dog. Film historians estimate that Gone With the Wind still has a case for being the most successful film of all time.

According to the Guinness Book of Records, its inflation-adjusted box office takings would be $3.44 billion (£2.7bn).