The Democratic-led Senate has agreed to rollback a rule allowing Americans to buy and own semi-automatic assault rifles in California and Connecticut.

The move, which would likely have major implications for gun rights in California, comes after Democrats swept to control the Senate in November.

California Attorney General Xavier Becerra announced the move on Tuesday, saying it would make it easier for gun owners to buy the weapons.

“This will give us an additional way to fight mass shootings in California by allowing people to make that choice,” Becerras office said in a statement.

Democrats said they plan to take up the measure this week.

The NRA said the measure would “give criminals, terrorists, and criminals who are mentally ill an easy way to buy guns.”