Straight Outta Compton and into the history books.

The N.W.A. biopic broke records with its $56.1 million haul at the weekend box office, more than doubling expectations set by Universal earlier in the week, according to tracking firm Rentrak. The sprawling hip-hop epic, which tracks the rise and rift of rap group N.W.A., had the biggest August opening ever for an R-rated film, ahead of American Pie 2's $45.1 million start in 2001.