A last-minute proposal to restrict assault rifles in California in the wake of mass shootings in Colorado and Wisconsin has been shelved for the year by state lawmakers.

The measure would have prohibited semi-automatic weapons from having devices that allow them to be easily reloaded with multiple rounds of ammunition, but it had become the target of an intense lobbying campaign, including radio ads, by gun groups who said it would result in legal owners losing their firearms.