This is an action by the city of San Bernardino, a municipal corporation of the fifth class, to recover of the Southern Pacific Company, a corporation organized under the laws of the state of Kentucky, the sum of one hundred dollars as license tax. for carrying on the business of common carrier, under the provisions of a city ordinance imposing a license tax of five dollars a month on any person or company carrying on such business in said city. The answer alleges that the defendant is engaged in interstate commerce in operating a railroad for the carriage of freight and passengers and United States mail from New Orleans, in the state *527of Louisiana, through the state of California, to Portland, in Oregon, and as part of said system operates a line of railroad to said city of San Bernardino, and that the sum sought to be recovered from defendant is a license tax for the privilege of engaging in interstate commerce, and its assessment and attempted enforcement and collection is a violation of article I, section 8, parts III and VII of the constitution of the United States. The case was tried on an agreed statement of facts, and judgment went for defendant in the court below, and plaintiff appeals.
In the agreed statement of facts we find the following: “ That the defendant is now, and at all the times stated in plaintiff’s complaint herein was, a railroad corporation organized under the laws of the state of Kentucky, and engaged in operating, as lessee of the Southern Pacific Railroad Company, a continuous line of steam railroad, for the carriage of freight, passengers, and United States mails, for hire as common carriers, from the city of New Orleans, in the state of Louisiana, through the states of Louisiana and Texas, the territories of New Mexico and Arizona, and the states of California and Oregon, to the city of Portland, in the state of Oregon, and that as a part of its said transcontinental line of railroad, and connecting with its main line thereof, near Colton, in the county of San Bernardino, state of California, it operates a line of steam railroad to and into the city of San Bernardino, in said county and state, for the carriage of freight, passengers, and United States mails to and from points on its said main line of railroad outside the state of California; also between points in the state of California, and that it does now, and at all times mentioned in said complaint did, under contracts with the government of the United States, regularly carry over its said line of railroad the mails of the United States to and from said city of San Bernardino and to and from points outside of the state of California, and has at all times mentioned in the com*528plaint herein maintained an office at said city of San Bernardino for the carrying on of its said business.”
A license tax, which is a tax on the privilege of doing business involving interstate commerce, is void and cannot be enforced. This doctrine cannot be questioned. In Lyng v. Michigan, 135 U. S. 161, the court said: “We have repeatedly held that no state has the right to lay a tax on interstate commerce in any form, whether by way of duties laid on the transportation of the subjects of that commerce, or on the receipts derived from that transportation, or on the occupation or business of carrying it on, for the reason that taxation is a burden on that commerce, and amounts to a regulation of it, which solely belongs to Congress.” (See, also, Crutcher v. Kentucky, 141 U. S. 47.)
It would appear from appellant’s brief that this proposition of law is not controverted, but its application to the facts of this case is denied, upon the ground that the line of railroad operated by the defendant in the city of San Bernardino is not its main trunk line, but is only a branch thereof. In other words, it is conceded that a similar license tax to the one here involved would not be a valid tax, and could not be collected» in any city located upon the main trunk line of road between New Orleans and Portland, Oregon, not even in the city of Colton, which is situated at the point of junction of the main and branch lines, and in the same county as the plaintiff itself. Under the agreed statement of facts there is no sound foundation upon which to rest the application of a different principle of law in these two classes of cities. It is stipulated that this branch line is “ a part of its said transcontinental line of railroad,” and, in the face of the existence of such fact, we do not perceive any force in plaintiff’s contention that this particular part of the railroad is no part of its main trunk line. But the stipulation of facts even goes beyond this broad statement, and declares that the line of road operating in the city of San Bernardino carries passengers, freight, and *529United States mails to and from points on its said main line of railroad, outside of the state of California, also between points in the state of California, and likewise conveys the United States mails to and from such points. Carrying passengers and freight from San Bernardino to a thousand places on the line of the road in other states, and likewise from those points to San Bernardino, is conducting an interstate commerce business pure and simple, and by the stipulation this is the. business the defendant is carrying on in the city of San Bernardino. The question of power in the city to create such an ordinance is not to be tested by the fact as to whether or not the city is located upon any particular line of railroad, be it trunk or branch line, hut rather by the character of the business in which the defendant is engaged in the city passing the ordinance. In dealing with this question we do not concern ourselves as to the character of the franchise under which either the trunk line or the branch line of defendant is doing business. The character of defendant’s business, and not the character of its franchise, points the judgment. Again, as far as plaintiff is concerned, it is the terminus of the transcontinental line; but we think the question of direct line and termini wholly immaterial.
If this question is to be determined by the character of the business done, and we are clear that by such rule the rights of defendant are to be measured, then plaintiff stands upon common ground with every other city situated in the state of California upon the main line proper, for in those cities the defendant conducts and carries on the same kind and character of business as is conducted and carried on in the city of San Bernardino. While defendant does business in the city of San Bernardino in carrying freight and passengers to and from other points in the state of California upon the trunk line, the same conditions are present as to every other city located upon the trunk line, and such circumstance, if controlling, would give them all power to levy the tax here assailed.
*530There is no attempt by the ordinance here under discussion to levy this tax upon the local business of the defendant, even if the power to take such course existed, but by its terms it includes both local and interstate business. The ordinance covers its entire business as common carriers, regardless of its nature, and, therefore, of necessity, operates as a burden upon interstate commerce, if its business is of that character. As a condition attached to the conduct of its business in the city of San Bernardino it is required by this ordinance to pay a tax to the city. In that city its business is not confined within the state lines of California. It is, therefore, engaged in interstate commerce, and, being so engaged, no statute or municipal law can burden or handicap its business, for the regulation thereof rests solely in the hands of Congress.
For the foregoing reasons the judgment is affirmed.
Van Fleet, J., and Harrison, J., concurred.