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: Smash-And-Grab Thieves Hit San Jose Eastridge Mall Jewelry Store; 5 Sought

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

READ MORE: Investigation Finds Vallejo Officer's Use of Deadly Force Not 'Reasonable'

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

The pet store industry said it removes important consumer protections.

MORE NEWS: San Francisco Lights Up GG Park Christmas Tree After Darkest Year of Pandemic

Brown did not comment on his decision.