California will become the first state in the U.S. to prohibit the sale of dogs, cats and rabbits in pet stores unless the animals are from a rescue organization.

The new law, titled AB 485, is an effort to crack down on puppy mills. Starting on Jan 1. 2019, California pet shops will only be allowed to sell dogs, cats, and rabbits from shelters and rescues.

The law will “require all sales of dogs and cats authorized by this provision to be in compliance with laws requiring the spaying or neutering of animals, as specified.”

AB 485 would also require each pet store to maintain records sufficient to document the source of each dog, cat, or rabbit the pet store sells and would authorize public animal control agencies or shelters to periodically require pet stores engaged in sales of dogs, cats, or rabbits to provide access to those records.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Gina Martinez at gina.martinez@time.com.