HORNELL, N.Y. (WENY) -- A newly passed Hornell City ordinance limits the number of dogs that would be allowed per household.

Under the new rule, homes within the city limits would only be allowed a maximum of four dogs over the age of four months.

In a Facebook post, the City of Hornell says the new rule will go into effect on May 18th, 2022, and it will not apply to any household that currently has four or more dogs over the age of four months -- as long as they are licensed with the city at the time of the effective date of the ordinance.

Currently, the city says, "All dogs and cats over the age of 4 months must be licensed in the City of Hornell. Licenses can be obtained at the City Clerk’s Office during normal business hours. Proof of rabies vaccination is due at the time of licensing."

In the post, the city cited "a number of instances of households having large collections of dogs living in poor conditions. In most of these cases, both residents and dogs alike were living in unsafe or unsanitary conditions, resulting in a poor quality of life for both the animals and the residents. Many of these cases involved children who felt unsafe living in their homes."

“Having a pet is a responsibility not to be taken lightly. Like children, our pets rely on us to provide them with a clean, safe and healthy environment”, said Mayor John Buckley.

Deputy Mayor Jessica Cleveland said, "I deeply appreciated the thoughtfulness of all my colleagues on the Council as we reviewed the dog ordinance. This was not a decision made lightly and many factors were considered. As a pet owner, I really wanted to ensure the well-being of family and pets was considered, while balancing those who also may be negatively affected. I believe the ordinance is a thoughtful look forward to ensure the best quality of life for all living in our community."

The ordinance was passed with unanimous support during Monday night's Common Council session.