Lea Michele has won her fight against puppy mills.
The Glee star has been working with the Humane Society of the United States to campaign for New York's governor, Andrew Cuomo, to sign a bill giving local governments the authority to regulate factories where dogs are forcibly bred.
According to E! News, within a day of sending a letter to the politician, he's signed new legislation.
Lea applauded Governor Cuomo in a statement to the outlet.
"As a lifelong New Yorker and a recent dog owner, I couldn't be more delighted that our great, progressive state has considered large-scale commercial puppy mills-breeding factories where female dogs are constantly impregnated and forced to live in cages in their own excrement-an unnecessary cruelty that deserves local oversight," she said.
A spokesperson for the Humane Society confirmed the news.
The agency also applauded Lea for speaking out and bolstering their efforts.
"New York's lax laws have attracted some of the worst puppy millers, and dogs suffer in cruel conditions every day. Now, local governments and New York residents will have the ability to stop the abuse in these puppy mills," their statement read.
"We thank Governor Cuomo, Assembly member Rosenthal, Senator Grisanti and the legislature for enacting a law that will help prevent the cruelty we so often see at large-scale dog breeding facilities. We also thank the large numbers of New Yorkers, including Glee star Lea Michele, and local and national organizations for encouraging lawmakers to protect breeding dogs in the Empire State."
It's not the first time Lea has campaigned for animal rights.
As E! reports, the actress and singer has also worked with People for the Ethical Treatment of Animals to halt horse-drawn carriages in New York City.