Last weekend, Christopher Nolan's World War II epic “Dunkirk” won the box office during its opening weekend, performing much better than expected. In its second weekend, it once again took the top spot, barely squeaking past the poorly received “The Emoji Movie.”

'Dunkirk' holds on to top spot at box office

Dunkirk” had a strong hold during its second weekend at the domestic box office, taking in $28.1 million from 3,748 locations. This is the first time a movie has held the top spot for two weeks in a row since “Wonder Woman” did so at the beginning of June. Ironically enough, both of these movies were produced by Warner Bros.

This was only a 44 percent decline between its first and second weekend, which is solid. With an $100 production budget, the film has already crossed the $200 million mark worldwide.

'Emoji Movie' comes in close second despite awful reviews

The Emoji Movie” gave “Dunkirk” a run for the top spot, but came up just short during its open weekend. It took in $25.6 million at the domestic box office from 4,075 locations, which is half its estimated production budget of $50 million.

However, the animated PG movie was poorly received by critics and audiences alike despite its considerable voice acting cast. The movie features T.J. Miller, Anna Faris, James Corden, Maya Rudolph, Patrick Stwart and Sofia Vergara among others.

On Rotten Tomatoes, the film currently has a 7% rotten rating from 45 critic reviews. The audience score was more kind, giving the movie a 46% from 13,111 user ratings.

'Atomic Blonde' has decent opening weekend

Atomic Blonde,” which was the other major release this week, finished with a decent box office opening at $18.5 million from 3,304 locations.

The Charlize Theron action-spy thriller came in fourth place, as Universal's “Girls” held down the third spot with $20 million during its second weekend.

While this was slightly below expectations, “Atomic Blonde” only had an estimated production budget of $30 million. In fact, this is the fourth biggest opening weekend for a Focus Features film, only behind 2008's “Burn After Reading” ($19.1), 2016's “London Has Fallen” ($21.6) and 2015's “Insidious Chapter 3” ($22.7).

So far the film has gotten solid reviews, as it has a 75% certified fresh score from 137 critic reviews on Rotten Tomatoes. Movie goers liked the film slightly less, as it has a 68% audience score from 18,319 user ratings.