Taking the allegations of the plaintiff’s petition to be true, as we must do upon demurrer, he certainly has just and great cause to complain of the needless hardships and suffering which he endured while confined in the city guard-house. But however strongly the story of his sufferings may appeal to our sentiments of humanity, the law affords him no redress against the municipality. The general rule is well established, that a municipal corporation is not liable in damages for injuries sustained by reason of the negligent or improper exercise of a purely governmental power. The preservation of the public peace, quiet, good order, etc., of a community is a governmental function. Where the legislative authority of a city passes ordinances for such purposes, it is clearly exercising a governmental power. When, for the purpose of enforcing such ordinances, the city erects and maintains a prison wherein to confine offenders, for the purpose of punishment, or those charged with offenses, for safe-keeping until they can be tried, it is exercising the same power. The enactment of such ordinances and the provisions made for their enforcement belong to the police power, which is purely governmental in character. In Love v. Atlanta, 95 Ga. 129, this court held, that as “ The duty of keeping the streets clear of putrid and other substances offensive to the sense of smell and which tend to imperil the public health devolves, under the charter of the City of Atlanta, upon the board of health of that city; and the functions of this department of the city government being governmental and not purely administrative in their character, it follows that if, in the exercise of such functions and in the discharge of the duties devolving upon this department thereunder, a private citizen is injured by the negligence of one of its servants in and about such work, no right of action arises against the city.” In the-opinion Mr. Justice Atkinson said: “The principle of non-liability rests upon the broad ground that, in the discharge of its purely governmental functions, a corporate body to which
In the case of Brown v. Guyandotte, 12 S. E. 707, the Supreme Court of West Virginia held, that “A town is not liable for damages for the death of a person caused by the burning of its jail while such person was confined therein for a violation of its ordinances, though such fire was attributable to the wrongful act or negligence of the officers or agents of the town.” Brannon, J., in the opinion said : “I think the duty and function of keéping a jail and confining therein offenders against the municipal ordinances of a town are plainly purely governmental in character.” In La Celf v. Concordia, 41 Kan. 323, it was held, that “ Where a person is confined in a city prison, upon conviction for disturbing the peace and quiet of the city, the city is not liable for damages for injuries sustained by reason of the bad character of the prison, or the negligence of the officer in charge of the same.” This decision was followed in
In support of their contention as to the liability of the municipal corporation for the injuries sustained by the plaintiff while confined in the city guard-house, his counsel cite Moffit v. Asheville, 103 N. C. 237, and Shields v. Durham, 116 N. C., 394, in each of which cases the allegations of the respective plaintiffs were of a similar character to those in the present case. In each of those cases, however, the court held that
In view of the decisions of this court in reference to the non-liability of municipal corporations when exercising governmental functions, and the overwhelming weight of outside authority in cases similar to the one we have under consideration, we are constrained to hold that the defendant is not liable to the plaintiff for any injuries which he may have sustained while confined in the city-guard-house, by reason of its improper construction and unwholesome condition, or by reason of the failure of the municipal authorities to provide the means by which he could'have protected himself from the inclemency of the weather during his imprisonment.