MR. CHIEF JUSTICE BRANTLY
delivered the opinion of the court.
This cause was submitted to the district court upon an agreed statement of facts under the provisions of section 7254, Revised Codes, to have determined the question: “Has the city of Helena the right and power to require the plaintiff, the Helena Light and Railway Company, to light its railway tracks within the corporate limits of said city without cost or expense to the city, and particularly at street intersections ? ’ ’ The court upheld the contention of the city that it has the power and rendered judgment in its favor. The plaintiff has appealed.
The plaintiff is operating its railway under what is referred to in the briefs of counsel as the “Brill Franchise.” It also supplies to itself and to the city and its inhabitants electricity for light and power purposes under a second franchise granted to it by the city. The ordinance granting the railway franchise contains this provision:
“Section 2. Rights Granted, Subject to What. — The right and privilege hereby granted is subject, except as herein otherwise provided, to the terms, restrictions and provisions contained in Article III, entitled ‘Street Railroads,’ on pages 323 to 331, inclusive, of the Revised Ordinances of 1897.”
Section 19 of said Article 3, which was in force when the Brill franchise was granted, is as follows: “The city of Helena reserves the right, by resolution or order of the city council, to adopt such other or further regulations, rules or réstrictions, with reference to, or for the management of, street railroads, or companies or corporations conducting street railroads within the city of Helena, as the council may from time to time deem proper; and all grants for street railroads shall be construed, taken and held to be subject to the right in this section reserved, whether so expressed in the grant or not.”
*28Section 3259 of the Eevised Codes declares: ‘ ‘ The city or town council has power: * * * (12) To require the lighting of any railroad track or route within a city or town, the cars of which are propelled by steam or otherwise, and fix and determine the number, style and size of the lamp-posts, burners, lamps and all other fixtures and apparatus necessary for such lighting, and the points of location of the lamp-posts, and to require the construction of crossings on the line of any railroad track or route within the city or town, the ears of which are propelled by steam or otherwise where the said track intersects or crosses any street, alley or public highway, or runs along the same, and to fix and determine the size and kind of such crossings and the grades thereof, and in case the owner of such railroad fails to comply with such requirements, the council may cause the same to be done, and it may assess the expense thereof against such owner, and the same constitutes a lien on any property belonging to such owner within such city or town, and may be collected as other taxes.”
The ordinance imposing upon the plaintiff the requirement in question is not incorporated in the agreed statement of facts. What its specific requirements are as to the number of lights required, their character, position, etc., does not appear. This is not important, however, since the question presented is not whether the particular requirements of the ordinance are reasonable, but whether either under the reservation in the general ordinance, which must be read into the Brill franchise, or under the provision of the statute, the council may exact the requirement it has undertaken to make.
1. As to the reservation .clause in the ordinance, it is contended that, though the plaintiff by accepting the franchise entered into a contract with the city whereby it bound itself to observe any condition imposed upon it by the city, it did not thereby bind itself to submit to an exaction made of it, which, but for the reservation, it would be wholly beyond the power of the city to make. It is also argued that the general reservation does not impose upon the plaintiff any other duty than *29to submit to any reasonable regulation enacted by the city. We do not think the reservation enlarges in any degree the power of the city to enact suitable police regulations to. control the construction and operation of railways upon its streets. Upon examination of it we find that it prescribes with great particularity the method to be pursued in constructing them, the character of materials to be used, the grade upon which they shall be laid (on a level with the surface of the street), the portion of the street they shall occupy, the maximum rate of speed at which the cars shall be moved, the points at which the cars must be stopped to receive and discharge passengers, and the duty of the corporation or other person owning the railroad to make the necessary repairs to the tracks and to keep the portion of the street occupied by them planked or paved, as the necessities of the case from time to time require. It imposes the duty of keeping the cars clean and in good repair. It prohibits the carrying of freight. It defines the relative rights of the city and the owners of the railroads, when it bgcomes necessary to make repairs upon the streets. It reserves the right in the city to require the use by one owner of a single track in common with the owner of another railroad at points where the width of the street does not permit the laying of two tracks. It contains many other provisions guarding the comfort, convenience and safety of the public while traveling on the ears or upon the streets, and declares any violation, by omission or commission, of any of the provisions contained in it a misdemeanor, subjecting the offender to the penalty of a fine. If the owner of a railroad fails to comply with any of its requirements, its franchise may be forfeited. In short, the ordinance is nothing more nor less than a series of police regulations designed to control the operation of the railroad, and thus afford reasonable protection to the public- in the use of the streets.
The source of the police power of a municipality is the state. [1] The extent of it must be ascertained from the-law creating the municipality, and from the laws of the state bearing upon the same subject. The power cannot be surrendered, alienated *30or abridged by contract, nor can it be delegated even with the consent of the legislature. Its exercise is a governmental function. Without it neither the state nor the municipality could protect the public welfare. (Northern Pac. Ry. Co. v. Minnesota, 208 U. S. 583, 52 L. Ed. 630, 28 Sup. Ct. Rep. 341; Dillon on Municipal Corporations, sec. 1269; McQuillin on Municipal Corporations, sec. 890.) By parity of reasoning, since the state is the source of this power, it is obvious that it cannot be enlarged or extended by contract or agreement with a private citizen or subject. To assert the contrary is to assert the proposition that a private citizen may by agreement clothe the municipality with a power which the state alone could grant. Therefore, [2] the general expression “such other and further regulations, rules or restrictions,” etc., found in the ordinance, must, we think, be taken to refer to, and include only, regulations of the same character as these prescribed in the preceding sections, viz., police regulations. A familiar rule of statutory interpretation is that, where general words follow particular and specific words, the former must bp held to mean things of. the same kind. (Sutherland on Statutory Construction, sec. 268.) It is true that the particular provisions found in the ordinance preceding the section containing the reservation embody separate and distinct regulations applicable to the subjects with which they deal, yet they all fall under the head of “police regulations,” and the principle embodied in the rule, it would seem, should' be applied as well to the ordinance as to a statute in which the enumeration of specific things followed by general words is all embodied in a single section. To broaden the meaning of the expression so far as to make it include regulations pertaining to subjects wholly beyond the purview of its police power would be to hold that the city may exact of the plaintiff submission to any sort of burden or imposition which the council might deem it expedient to impose, including, for instance, a requirement that the plaintiff, besides lighting its tracks upon the streets upon which they lie, shall also pave and keep in repair throughout their entire length those portions *31of the same streets. It cannot be questioned that such a requirement would not be within the lawful exercise of the police power. It would simply be an imposition upon the plaintiff of a duty which rests exclusively upon the municipality itself. In accepting the franchise from the city, the plaintiff impliedly agreed to become subject to any reasonable police regulation which was in force at the time, as well as to any that might thereafter be enacted. It did not require an express agreement on this subject to enable the city to exact compliance of the plaintiff. (Dillon on Municipal Corporations, sec. 1269.) That the city might by an express agreement incorporated in the grant have exacted plaintiff’s consent to submit to any imposition which it chose to impose upon it we do not doubt. The plaintiff was not obliged to accept the franchise. It took it with whatever burden was attached to it. We do not think, however, that, in the absence of a specific agreement to that effect, the city has the right to impose upon it any burden other than such as it might impose upon any other person in the same position.
2. This brings us to the real question at issue; that is to say: Does the provision of the statute, supra, vest in the city the power to make the requirement in question? The rule is [3] established in this jurisdiction that a municipality has only such powers as are expressly conferred by the law creating it, and such as are necessarily implied and are indispensable in order to accomplish the purpose of its creation; and, when there is a fair and reasonable doubt as to the existence of the particular power, it must be resolved against the municipality and the power denied. (State ex rel. Quintin v. Edwards, 40 Mont. 287, 20 Ann. Cas. 239, 306 Pac. 695; Davenport v. Kleinschmidt, 6 Mont. 502, 13 Pac. 249.) The reason of the rule is that the state has granted in clear and unmistakable terms all that it intended to grant at all. (Id.)
The provisions of the statute are not explicit. It is argued that the terms in which it is couched are broad enough to include any road constructed of rails. Whether it was intended *32by tbe legislature to put street railroads in the same class with commercial railroads and make them subject to the same regulations by the municipality is left in doubt. To ascertain its intention, reference must be had to the context in which the provision is found, other provisions pertaining to the same subject, the occasion and necessity calling for the enactment of it, and the remedy had in view.
Section 3259 is an enumeration of the powers of a city council. It confers the power to pass all by-laws, ordinances and resolutions not repugnant to the federal or state Constitution or the Title relating to the government of cities, which may be necessary to carry out the provisions of the Title. (Subdivision 1.) By specific provisions embodied in eighty-one other subdivisions it grants many of the powers included in subdivision 1, besides others not clearly included. Some of them are cumulative in character, but most of them deal with specific subjects. Subdivisions 11, 12, 13 and 66 relate exclusively to railroads. Subdivision 11 grants the power “to regulate and control the laying of railroad tracks and prohibits the use of engines and locomotives propelled by steam or otherwise, or to regulate the speed thereof when used.” Subdivision 12 is quoted above. By subdivision 13 is granted the power “to license and authorize the construction and operation of street railroads and require them to conform to the grade of the street as the same are or may be established.” Subdivision 66 confers the power to grant to street or other railroads rights of way through the streets or property of the city, to regulate the running and management of the ears, to compel repairs upon a street occupied by a railroad by the owner thereof, to regulate the speed of engines, and to require flagmen at crossings. This last subdivision in terms applies to both commercial and street railroads. We do not attach any significance to the use of the term “railroad” in these subdivisions. Similar provisions were first enacted by the territorial legislature in 1887. (Comp. Stats. 1887, Div. 5, sec. 325, subds. 14 [11], 15 [12], 16 [13].) They have been- amended from time to time since, but not in any *33particular indicating an intention to change or extend their application. (Laws 1893, p. 113, subds. 14 [11], 15 [12], 16 [13]; Pol. Code 1895, see. 4800, subds. 11-13; Laws 1897, p. 204, subds. 11-13.) As originally enacted, subdivisions 11 and 12 applied only to railroads propelled by steam locomotives. As they now stand, they include railroads upon which any kind of motive power is used, as is indicated by the expression “or otherwise,” now found in subdivisions 11 and 12, but not in the Act of 1887. The terms “railroad” and “railway” were used in the original enactment as synonymous. So they were used in the Act of 1893. They have been used indiscriminately in the same sense in much of the legislation on the subject of railroads and railroad corporations as is pointed out in Daly Bank & Trust Co. v. Great Falls St. Ry. Co., 32 Mont. 298, 80 Pac. 252. In the popular sense they are synonymous. As was said by the supreme court of California in Ferguson v. Sherman, 116 Cal. 169, 37 L. R. A. 622, 47 Pac. 1023: “We recognize that the word ‘railroad’ or ‘railway,’ as used in a law, is broad enough to include street railroads, and that many cases have arisen where the courts have held that the word does in its signification include such corporations; but, when all has been said, each case has been determined upon its own facts, having in view the circumstances of the case, the context, the presumed intention of the lawmakers, and the general policy of the particular state 'in regard to the matter, and therefore, while a large number of cases may be cited in which the courts have held that the statutes under consideration dealing with ‘railroads’ embraced in their provisions street railroads, an equal number could be instanced in which the courts have, under the facts of the case, narrowed and limited the application of the statute, and held that street railroads were not included. It would be difficult, if not impossible, to formulate any rule to govern the determination. In this state the difficulty is much relieved by the distinction which our Codes make between railroad corporations proper and street railroad corporations.”
*34Much of our legislation on the subject of railroads and railroad corporations has no application to street railroads. This is made apparent by the discussion of the provisions which were construed in Daly Bank & Trust Co. v. Great Falls St. Ry. Co., supra, and, while the question now before us was not involved in that ease, what is said on this subject and especially touching the provision now under consideration should be given weight in arriving at its meaning. It will be observed that the term “railroad” is employed in subdivisions 11 and 12 without qualification. Immediately afterward, in subdivision 13, the distinguishing prefix “street” is used. This same distinction is made in subdivision 66. It is found in sections relating to the assessment of railroads. (Rev. Codes, secs. 2528, 2529.) Again, in section 3808, enumerating the purposes for which corporations may be formed, the same distinction is observed. Yet again it is found in the recent Act of the legislature providing for the establishment of lighting districts in the business portions of cities and. towns. (Daws 1911, p. 167.) The frequent use of this prefix indicates the intention of the legislature to maintain the distinction, and suggests that in construing enactments touching railroads they should not be held to apply to street railroads unless the intention that they shall so apply is apparent. The character of their construction, the mode of their operation, the comparatively limited sphere of their activities, distinguish them from the railroads of commerce. Their tracks must conform throughout to the grade of the streets. Their cars are comparatively small and light, and therefore are easily subject to control. They are moved one at a time, or in trains consisting of a single car and a trailer. They are easily operated by one or two men. They are also lighted, and their approach or presence is easily observable. Their rate of speed is low. The danger to operators and the public is, for these reasons, comparatively small. Generally, they may convey passengers only. The operation of commercial railroads requires the use of massive locomotives. They convey passengers as well as freight, often making use of composite *35trains. Their trains are made np of many heavy cars which, with the massive locomotives drawing them, render them difficult to control. They extend for long distances. Freight trains cannot be lighted. The movements of all trains must be controlled by signals. Many men are required to operate them. The danger to the operators and the public is proportionately large. Hence, the greater necessity for precautions to protect against danger of accident, and to serve the convenience of the public. These and many other matters which might be mentioned serve to emphasize the distinctive difference in the two kinds of railroads and furnish support to the view that by the employment, in the statute, of the term “railroad” or “railway,” without qualification, the legislature does not intend to include street railroads, unless the intention to do so is apparent from the general legislation on the subject, or such intention is apparent from the provisions of the particular statute. (33 Cyc. 34; 36 Cyc. 1348, 1349.)
We refer to a few cases which justify the foregoing statement. In Minnesota it is held that a statute declaring that railroad corporations shall be liable for damages sustained by an agent or servant of the corporation through the negligence of any. other agent or servant is not applicable to street railroad corporations. (Funk v. St. Paul City Ry. Co., 61 Minn. 435, 52 Am. St. Rep. 608, 29 L. R. A. 208, 63 N. W. 1099.) The supreme court of Oregon in Thompson-Houston El. Co. v. Simon, 20 Or. 60, 23 Am. St. Rep. 86, 10 L. R. A. 251, 25 Pac. 147, determined that a statute authorizing railroad corporations to acquire rights of way by condemnation does not include street railroad corporations. A like conclusion was reached by Judge Taft in Byrne v. Kansas City, Ft. Scott & M. R. Co., 61 Fed. 605, 9 C. C. A. 666, 24 L. R. A. 693, as to the meaning of a section of the Code of Tennessee providing that every engine or train shall be brought to a full stop before crossing an intersecting railroad. It was held that the statute has no application to the crossing by a steam commercial railroad of a horse-car track. In San Francisco & S. M. El. Ry. Co. v. Scott, Collector. *36etc., 142 Cal. 222, 75 Pac. 575, the court had under consideration the provision of the Constitution of California, providing that the franchise, roadway, roadbed, etc., of all railroads operating in more than one county shall be assessed by the state board of equalization at their actual cash value, and that the same shall be apportioned to the counties, cities and counties, and cities, towns, townships and districts in which such roads are located, in proportion to the number of miles of railway laid in such counties, cities, etc. The conclusion was reached that the provision has no application to a street railroad, though it is operated in more than one county. A provision of the Revised Codes (section 4295) declares that a judgment against a railroad corporation for injury to a person or property, for material furnished or work or labor done upon any property of a railroad corporation, shall be a lien within the county where it is recovered on the property of such corporation, and prior and superior to the lien of any mortgage or trust deed provided for in the chapter of the Code of which it is a part. The application of this provision was considered by this court in Daly Bank & Trust Co. v. Great Falls St. Ry. Co., supra. The term “railroad” as used therein was held not to include street railroads. The same provision was examined and the same conclusion reached as to its application in Massachusetts Trust Co. v. Hamilton, 88 Fed. 588, 33 C. C. A. 46, and Central Trust Co. v. Warren, 121 Fed. 323, 58 C. C. A. 289. Many other cases could be cited, but these are sufficient for illustrative purposes.
When we come to analyze the provision of the statute itself, we find that one of the requirements authorized by it manifestly can have no reference to street railroads, viz.: ‘ ‘ The construction of crossings on the line of the track or route within the city or town * * * where the said track intersects or crosses any street, alley, or public highway, or runs along the same, and to fix and determine the size and kind of such crossings and the grades thereof.” As already stated, street railroads must of necessity be, and they are, laid on the grade of the street. *37Crossings, therefore, are entirely unnecessary; indeed, they would obstruct rather than add to the safety and convenience of travel along the streets either by foot-passengers or vehicles. Should it be held that the provision for lighting applies, but that the provision for crossings does not ? We think not. Taking the subdivision as a whole, it confers in appropriate terms the power to prescribe two police regulations, both of which apply to commercial railroads entering or passing through a city or town, whereas one of them could not have any application to street railroads. When we come to examine subdivision 13, we find that it deals exclusively with street railroads, and that, taken in connection with the general provision contained in subivision 1, it confers all the powers necessary for the policing of street railroads. We therefore conclude that the provision in [4] question was not intended to apply to street railroads at all. Hence the ordinance is void.
Counsel for the city insist that the ordinance making the requirement of plaintiff to light its tracks is authorized by the general provision found in subdivision 1. Let it be conceded that a city has the implied power to require a commercial railroad to light the streets on which its tracks lie; let it be conceded, also, that it has the implied power to require a street railroad to light its tracks at crossings which may be regarded as dangerous, or even at other points along the tracks exclusively for the convenience of the passengers; nevertheless we do not think that an ordinance under which the city may require the railroad to light the entire length of certain streets, without reference to special conditions rendering their lighting necessary, can be sustained under any view of its police power. The city cannot, under the guise of the exercise of this power, impose upon the railway company the duty which necessarily rests upon itself. (City of Shelbyville v. Cleveland, C., C. & St. L. Ry. Co., 146 Ind. 66, 44 N. E. 929.)
The fact that the ordinance applies especially to street intersections does not render it free from objection. Under it the plaintiff is made subject to fine and forfeiture of its charter, *38if it fails or refuses to install lights at any point or points designated, whether these be at street intersections or not. Nor do we think that the situation is affected by the fact that the plaintiff has a franchise under which it is furnishing electricity to the defendant and its inhabitants. So far as we can gather from the record, the two franchises have no relation to each other.
The judgment is reversed and the cause is remanded to the district -court, with directions to enter judgment for plaintiff.
Reversed and remanded.
Mr. Justice Holloway and Mr. Justice Sanner concur.