22 Jump Street just edged out How to Train Your Dragon 2 to take the weekend box office title, grabbing $60 million across 3,306 locations, according to Variety.

Ice Cube assumes the role of Captain Dickson in the movie, a narcotics officer in charge of an undercover operation aimed at locating the supplier of a drug described in the film as “WHYPHY” (WiFi).

Going into the weekend, most movie analysts predicted that How to Train Your Dragon 2 would be the highest-grossing film. 22 Jump Street nearly doubled the $36 million debut of the original film. Jonah Hill and Channing Tatum co-star with Cube in the movie.

Ice Cube has acted in numerous movies over the years. He got his first role as an actor in the 1991 film Boyz n the Hood, where he starred as Darin “Doughbouy” Baker, the maternal half-brother of main character, Ricky Baker and proclaimed Crip gang member. Since his first film, Ice Cube has went on to star in over 30 movies including Friday, BarberShop and Are We There Yet?, among others.

RELATED: Ice Cube’s Son O’Shea Jackson Jr. To Reportedly Play Cube In “Straight Outta Compton” Film