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: Philadelphia Police Officer Has Strong Message For Son's Killers After Hyram Hill Killed In Targeted Shooting

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: Manor College Students Past, Present 'Very Angry And Frustrated' About Ukraine-Russia Tensions

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: Philadelphia Police Officer Injured After Being Dragged By Vehicle During Traffic Stop: Police

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