SACRAMENTO, Calif. (AP) — California has become the first state to ban the sale of animals from puppy mills.

Gov. Jerry Brown announced Friday that he has signed a law requiring pet stores to work with animal shelters or rescue operations if they want to sell dogs, cats or rabbits. It still allows private breeders to sell animals directly.

READ MORE: Oakland A's Silent on Negotiations With City Over New Stadium

Thirty-six cities, including Los Angeles and San Francisco, already have similar bans on mass breeding operations.

READ MORE: COVID: Breakthrough Cases Surge Among San Francisco Hospital Staff

Supporters said the state measure, AB485, ensures better treatment of animals.

The pet store industry said it removes important consumer protections.

MORE NEWS: COVID: Highly-Contagious Delta Variant Has Some Parents Rethinking Back-To-School Plans

Brown did not comment on his decision.