The Los Angeles City Council voted unanimously to ban the possession of large-capacity gun magazines on Tuesday, following San Francisco to become the second major city in California to take that step.

The ordinance prohibits Los Angeles residents from possessing a handgun or rifle magazine that fits more than 10 rounds.

Residents would have 60 days after the law takes effect to remove, sell or transfer such magazines from city limits in compliance with state law, or surrender them to the LAPD.