The Town

Ben Affleck's new Boston-based bank robber drama, The Town, took the No. 1 spot at the box office over the weekend opening with $23.8 million, according to Box Office Mojo.

Watch a trailer for The Town

The film, in which Affleck stars and directed, also boasts a cast of Jeremy Renner, Rebecca Hall and Jon Hamm.

Coming in second and third, respectively, were the high-school comedy Easy A ($18.2 million) and M. Night Shyamalan's Devil ($12.6).

The animated Alpha and Omega, which also opened this weekend, came in fifth place with $9.2 million after Resident Evil: Afterlife ($10.1 million).

Rounding out the top 10: Takers (No. 6, $3 million); The American (No. 7, $2.8 million), Inception (No. 8, $2 million); The Other Guys (No. 9, $2 million) and Machete (No. 10, $1.7 million).