[¶ 1.] To keep excessive numbers of large dogs from becoming a public nuisance, the City of Marion passed an ordinance that, among other things, limited households to four dogs, only two of which could weigh over 25 pounds. When the ordinance was сhallenged in court, the weight restriction was struck down. We reverse that ruling. South Dakota law permits municipalities broad power to regulate the keeping of dogs, and thus the weight limitation included in the City’s comprehensive pet ordinance wаs within its authority.
A.
[¶ 2.] Marion city officials heard numerous complaints about dogs. The problems included constant barking, chained dogs challenging neighbors, and big dogs taking an attack attitude toward bypass-ers. The City attributed these problems to “large dogs” thаt have a greater potential to kill, injure, and intimidate. Dogs housed together, the City concluded, develop a “pack mentality” increasing their lethality. In addition, the City became concerned that excessive dog feces would create unsanitary conditions and foul odors. In 1999, the City successfully prosecuted a nuisance action against a resident who kept five Great Danes.
[¶ 3.] The City enacted Ordinance 232, effective January 5, 2000. In § 2, the ordinance “set an aggregate limit to the number of dogs that may be legally owned by one family, household, or cohabitants of any kind.” 1 No home could have more than four dogs and four adult cats. Of the four dogs allowed, only two could weigh over 25 pounds.
[¶ 4.] Diane Schoenwald rеsides in Marion with her husband and their three children. The family owns three dogs: one shepherd-collie mix and two golden retrievers. The dogs were properly licensed and vaccinated in June 1999. At that time, the shepherd-collie weighed 75 pounds; the male golden retriever, 30 pounds; and the female golden retriever, 20 pounds. On February 23, 2000, Scho-enwald was notified that by housing three dogs weighing over 25 pounds she was in violation of the ordinance. 2 The City ordered her to remove one dog. She received a second notice on March 10, giving her 72 hours to comply. She ignored the demand and was issued a citation.
[¶ 5.] Schoenwald pleaded not guilty in magistrate court and moved to dismiss. She contended that the ordinance exceedеd the scope of municipal authority and was unconstitutional. After a hearing, a *216 circuit judge sitting as a magistrate granted her dismissal motion. The court ruled that the weight restriction violated Scho-enwald’s substantive due process rights under Article VI, § 2 of thе South Dakota Constitution and exceeded the City’s authority conferred by the Legislature. We granted the City’s request for discretionary review.
B.
[¶ 6.] Lacking inherent authority, cities derive their right to regulate from the Legislature.
Welsh v. Centerville Township,
[¶ 7.] South Dakota delegates a large measure of police power to municipal corporations, either expressly or inferentially.
Streich v. Board of Ed. of Aberdeen,
C.
[¶ 8.] To decide if the Legislature authorized the City to regulate “the keeping of dogs” through а pet ordinance that includes a weight classification, we examine SDCL Chapter 9-29, and specifically 9-29-12, 9-29-13, and 9-29-1.
3
Stat
*217
utory interpretation presents a question of law, and thus we review the trial court’s decision without deference.
Faircloth v. Raven Industries,
[¶ 9.] An ordinance regulating рet weight as well as pet numbers has no linkage to an explicit legislative endorsement. Indeed, the only specific enabling statute deals with prohibiting, regulating, and licensing “dogs running at large.”
See
SDCL 9-29-12. Yet this statute is no bar to other enactments for caninе control: cities possess the statutory right to “regulate the keeping of dogs.”
Rapid City v. Tuning,
[¶ 10.] In almost all jurisdictions, muniсipal power to regulate animals kept as pets is broadly construed.
See
7 McQuil-lin, Municipal Corporations, § 24.284 at 203 (3rd ed 1998)(footnoted information omitted). Restrictions on the aggregate number of dogs in households are commonly upheld against constitutional attacks.
See Holt v. Sauk Rapids,
[¶ 11.] On the other hand, the City cites no instance where a similar weight restriction for dogs was upheld. Nor does it refer to any animal science authority or veterinary directive to support a weight threshold for household pets. Empirical evidence, of course, is not required to sustain an ordinance. Sehoen-wald, who carries thе burden, offers no empirical data either. But to some degree, the weight limit creates an unproven distinction between large and small dogs. The restriction carries certain troublesome exactions. Weight is a mutable attribute. For some pets, compliance with the ordinance may fluctuate, depending on health, diet, and age.
[¶ 12.] Then again, by isolating a single sentence in an ordinance to test its reasonableness, we ignore a basic rule of construction: the obligation to read enactments as a whole.
Faircloth,
[¶ 13.] On the whole, the City meets a legitimate public safety objective with its comprehensive pet ordinance. We have seen the tragic consequences of unregulated or mismanaged pets.
See e.g. Tipton v. Town of Tabor,
[¶ 14.] We conclude that the. weight limit in Ordinance 232 § 2 read together with the freedom to possess four dogs, two of which can be any size, is sufficiently related to the purpose of protecting public health .and safety; thus, it did not unreasonably exceed the City’s regulatory authority. Furthermore, because there is a rational relationship between the ordi
*219
nance and the problems caused by large dogs, we find no violation of the South Dakota Constitution.
Cheyenne River Sioux Tribe Tel. Auth. v. Pub. Utilities Comm’n,
[¶ 15.] Reversed.
Notes
. Ordinance 232 § 2 provides:
Limit in number of dogs and cats-It shall be unlawful for any person or persons, or household, in the limits of the City of Marion to own or possess more than four dogs and four adult cats. Of the four dogs that can he owned or possessed, only two of the dogs can weigh more than twenty-five pounds. It is the intent of this Ordinance to set an aggregate limit to the number of dogs that may be legally owned by one family, household, or co-habitants of any kind. This Ordinance does not apply to litters of dog puppies or kittens from the time of their birth until they are eight weeks old.
. It is not clear from the record how the City determined that Schoenwald's third dog had subsequently exceeded the weight limitation.
. SDCL 9-29-12. Animals Running at Large — Pounds—Dog licenses. Every municipality shall have the power to regulate or prohibit the running at large of dogs, animals, and poultry, to establish pounds, appoint poundmasters, and regulate the impounding of animals, and to impose a tax or license on dogs running at large.
SDCL 9-29-13. Abatеment of Nuisances. Every municipality shall have power to declare whaL shall constitute a nuisance and prevent, abate, and remove the same.
SDCL 9-29-1. Territorial Jurisdiction of Municipalities. Every municipality shall have power to еxercise jurisdiction for all authorized purposes over all territory within the corporate limits and over any public ground or park belonging to the municipality, whether within or without the corporate limits ... for the purpose of promoting thе health, safety, morals, and general welfare *217 of the community, and enforcing its ordinances and resolutions relating thereto.
.
Contra Commonwealth v. Creighton,
