“How to Train Your Dragon 2” has flown beyond $500 million at the global box office, DreamWorks Animation said Thursday.

The family film has racked up $170.6 million domestically and $331.2 million in foreign markets. It premiered Thursday in China, scoring $5.6 million on its opening day.

It is 2014’s highest grossing animated film and has surpassed the $498.9 million that the first “Dragon” made globally when it hit screens in 2010. The picture benefited from a lack of children friendly titles in the marketplace, with its primary competition coming from the live-action “Maleficent.”

“Dragon 2’s” international rollout is nearly complete after it debuts in Italy this weekend.