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: 78,000 Pounds Of Infant Formula Arrives In United States

Study: Too Much Exercise Can Actually Lead To Heart Disease

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

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

READ MORE: Former Pennsylvania AG Kathleen Kane Due In Court For Alleged Probation Violation

Secret Service: Man Dressed As Pokémon Character Tried To Infiltrate White House 

The pet store industry said it removes important consumer protections.

Brown did not comment on his decision.

MORE NEWS: Allentown Lowers Part-Time, Seasonal Employment Age Requirement To 15

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)