third, failure of the city to light the street in the vicinity of the accident, it possessing the power to light the streets, and having undertaken to exercise it. There are two kinds of duties imposed upon a municipal corporation, in respect to which there is a clear distinction,- — one is imposed for governmental purposes, and is discharged in the interest of the public, and the other arises from the grant of some special power, in the exercise of which the municipality acts as a legal individual. In the latter case the power is not held or exercised by the municipality as or because it is one of the political subdivisions of the state, and for public governmental purposes, but as and because it is, as an individual might be, the grantee of such power for private purposes. In such case the municipality is on the same footing with a private grantee of the same power, and is, like him, liable for an injury caused by the improper use of such power. But where the power is conferred upon the municpality as one of the political divisions of the state, and conferred, not for any benefit to result therefrom to such municipality, but as a means in the exercise of the sovereign power for the benefit of the public, the corporation is not answerable for nonfeasance or misfeasance by its public agents. Maxmilian v. Mayor, 62 N. Y. 160; Eastman v. Meredith, 36 N. H. 284;
Robinson v. Greenville, 42 Ohio St. 625; Lafayette v. Timberlake, 88 Ind. 330; Dill. Mun. Corp. (4th Ed,) § 975. In the enactment of ordinaces, and in the appointment of officers and agents for their enforcement, the municipality is exercising a governmental authority, and, within its limits, acts as the representative of the state, and its officers are regarded as agents, not of the city corporation, but of the state. ' Their powers and duties are derived from the law, and not from the city under which they hold their appointment. In Buttrick v. Lowell, 1 Allan 172, Bigelow, C. J., says: “Police officers can in no sense be regarded as servants or agents of the city. Their duties are of a public nature. Their appointment is devolved upon cities and towns by the legislature as a convenient mode