The sequel had one of the best openings ever for an animated film, Box Office Mojo reports, earning $82.5 million over the weekend and $142 million total over its five-day opening.
The Lone Ranger, however, opened at No. 2 with an underwhelming $29.4 million for the weekend. The adaptation of the popular TV show, starring Johnny Depp and Armie Hammer, took in just $48.9 million in its first five days of release.
The Melissa McCarthy/Sandra Bullock comedy The Heat fell to third place in its second week, with $25 million. Last week's No. 1 movie, Monsters University, dropped to fourth place with $19.6 million. Rounding out the top five was Brad Pitt's zombie flick World War Z, which brought in $18.2 million in its third week in theaters.