James Cameron’s 2009 movie “Avatar” set a global box office record of $2.79 billion that has remained uncontested since then. But the sci-fi epic’s reign is in danger for the first time in almost a decade, thanks to the remarkable performance of “Avengers: Endgame.”

Since the premiere of “Endgame” late last month, the Walt Disney Co. film has collected $2.24 billion in worldwide receipts, making it the second-highest-grossing film ever, passing Cameron’s 1997 juggernaut “Titanic” ($2.19 billion). “Endgame” hit the $2-billion mark in 11 days of release, according to studio estimates, by far the fastest any film has reached that milestone.