Matt Damon

Elysium, the new sci-fi movie starring Matt Damon and Jodie Foster, nabbed the top spot at the box office over the weekend, bringing in $30.4 million, Box Office Mojo reports. Still, the total was less than recent sci-fi debuts Pacific Rim and Oblivion, and also fell short of director Neill Blomkamp's previous release, 2009's District 9.

Coming in at No. 2 was the Jason Sudeikis/Jennifer Aniston road trip comedy We're the Millers, which had an unexpectedly strong showing with $26.5 million.

Must-see summer movies: Elysium and more

Pixar's Planes landed at No. 3 with $22.5 million, while the other major new release of the weekend, Percy Jackson: Sea of Monsters debuted in fourth place with a disappointing $14.6 million.

2 Guns fell to fifth place in its second week with $11.1 million, while Smurfs 2 dropped to sixth place with $9.5 million.

The Wolverine dropped from No. 2 to No. 7 in its third week, with an $8 million haul.

Photos: TV stars head to the movies

Rounding out the Top 10 were The Conjuring (No. 8, $6.7 million), Despicable Me 2 (No. 9, $5.7 million) and Grown Ups 2(No. 10, $3.7 million).

In related box office news, World War Z, which has been in theaters for eight weeks, officially became star Brad Pitt's highest-grossing film over the weekend. It's earned more than $500 million worldwide.