Mark Wahlberg

Transformers: Age of Extinction held on to the top spot at the box office over the holiday weekend, despite experiencing a 63 percent dropoff in its second week, Box Office Mojo reports. The fourth film in theTransformers franchise took in $36.4 million, which was enough to top the new film Tammy. The road trip comedy starring Melissa McCarthy and Susan Sarandon finished in second place with $21.1 million in its debut weekend.

Deliver Us from Evil flopped in its debut, landing at No. 3 with $9.5 million. The horror movie just barely edged out 22 Jump Street, which dropped to No. 4 with $9.4 million in its fourth week in theaters.

Summer Movie Preview: TV stars head to the small screen

How to Train Your Dragon 2 also fell a couple of spots to No. 5 with $8.75 million.

Opening in sixth place with $8.2 million was Earth to Echo, whileMaleficent came in at No. 7 with $6.1 million.

Rounding out the Top 10 were Jersey Boys (No. 8, $5.2 million), Think Like a Man Too (No. 9, $4.9 million) and Edge of Tomorrow (No. 10, $3.6 million).

With the Top 12 films earning just $118.5 million this weekend, this marks the worst Independence Day weekend at the box office since 1999, Box Office Mojo notes.

Check out clips from Transformers: Age of Extinction here.