SACRAMENTO, Calif. (AP) — An affiliate of the National Rifle Association in California is asking a federal judge to block a new law requiring background checks for people buying ammunition.

The California Rifle & Pistol Association on Monday asked U.S. District Judge Roger Benitez in San Diego to halt the checks and related restrictions on ammo sales.

READ MORE: Endangered Species Act Restored By Federal Judge In California After Trump-era Weakening

Voters approved tightening California’s already strict firearms laws in 2016. The restrictions took effect July 1.

READ ALSO: Ammo Background Checks Add New Fee And Regulation To Gun Industry

READ MORE: 'We're Angry': Downtown Sacramento Safety Perceptions Impacted After Another Deadly Shooting

The gun owners’ association challenged the background checks in a lawsuit filed last year and is now seeking an injunction.

Benitez previously rejected the state’s attempt to dismiss the lawsuit.

MORE NEWS: Amador County Fairgrounds Acts As Animal Evacuation Center Amid Electra Fire

Earlier this year, he struck down California’s nearly two-decade-old ban on high-capacity ammunition magazines. That triggered a week-long buying frenzy before he stopped sales while the state appeals his ruling.