(CNN) California is about to become the first state to require gun owners to pass background checks before buying ammunition.

Under the new law, which goes into effect Monday, ammunition vendors will have to enter the buyer's name, date of birth and current address and the number from a driver's license or other government-issued ID into a state computer system to find out whether the information matches and whether the person is eligible to own a firearm.

Gov. Gavin Newsom said the rules will help keep communities safe

The new law is part of Proposition 63, passed in 2016.

Read More