SYRACUSE, N.Y. -- A law designed to help protect animals passed unanimously in the Syracuse Common Council Monday.

Adrian's law will punish pet owners if they leave an animal outside for more than two hours in temperatures below 32 degrees or above 90 degrees without proper shelter.

It is named after a dog froze to death outside in Syracuse back in January.

It stalled in the county legislature, so common councilor Susan Boyle brought a similar version to the city council.

Animal advocates call this is a huge win.

"It’s not about me, it’s about the dog and we're so excited that this is a win for the animals I'm so excited too that Syracuse took a progressive step forward in being a leader in animal welfare," said Stephanie Heath, with Cuse Pit Crew.

Pet owners who violate the law could face jail time, fines, and have their pet taken away.