These are writs of error brought by parties interested in an order of the Board of Public Utility Commissioners of New Jersey, dated April 20, 1915, directing a change in fifteen places in the City of Paterson, where the Erie Railroad now crosses that number of streets at grade. The order was reviewed on writs of certiorari and affirmed by the Supreme Court, and on appeal by the Court of Errors and Appeals. 89 N. J. Law, 57, 24, 98 Atl. 13, 28; 90 N. J. Law, 672, 673, 714, 729, 677, 694, 103 Atl. 1052, 1053, 1055, 1051. The Erie Railroad Company made two applications to the Supreme Court, the second being based upon a refusal by the Board to grant a rehearing of its order. Accordingly it has two writs of error here.
[254 U.S. 394, 408]
But the second adds nothing to the first as we could not say that the Board unreasonably refused further delay. Those of the other parties are to the judgments affirming the original order of the Board. The Erie Railroad was ordered to make the change by carrying fourteen of the crossings under, and one, at Madison Avenue, over the railroad. It will also have to bear the cost, subject to a charge to the Public Service Railway Company of ten per centum of the cost of changing three crossings used by its road. The most important questions arise in the Erie Railroad Company's case and we take that up first.

The order was made under an Act of March 12, 1913, c. 57, P. L. 1913, p. 91, which is construed by the State courts to authorize it, subject to the constitutional questions to be dealt with here. The Erie Railroad's line in Paterson is over tracks originally belonging to the President and Directors of the Paterson and Hudson River Railroad Company and the Paterson and Ramapo Railroad Company, but now held by the Erie Railroad, by assignment of perpetual leases upon the terms that if in any unforeseen way the leases terminate the value of erections and improvements must be repaid by the lessors. They however are small corporations having no assets except their roads and the rentals received from the Erie Company. The leases were ratified by an Act of March 14, 1853 (P. L. 480), providing that they should not be held to confer any privilege or right not granted to the lessors by their charters. It is admitted that the statute must be taken to impose the duty of making the changes upon the company operating the road, the plaintiff in error, which is an interstate road. It put in evidence that it did not have assets sufficient to make the changes, at least without interfering with the proper development of its interstate commerce, and also contended that the whole evidence did not justify the finding of the Board that the crossings were dangerous to public safety but at most showed that
[254 U.S. 394, 409]
the change would be a public convenience. It is said that the order must be reasonable to be upheld and that it is not reasonable to require an expenditure for such a purpose of over two million dollars from a company that has not more than $100,000 available, and that the order and the statute when construed to justify it not only interfere unwarrantably with interstate commerce and impair the obligation of contracts but take the Erie Company's property without due process of law.

Most of the streets concerned were laid out later than the railroads and this fact is relied upon, so far as it goes, as an additional reason for denying the power of the State to throw the burden of this improvement upon the railroad. That is the fundamental question in the case. It might seem to be answered by the summary of the decisions given in Chicago, Milwaukee & St. Paul Ry. Co. v. Minneapolis,
232
U.S. 430, 438
, 34 S. Sup. Ct. 400, 401 (58 L. Ed. 671). 'It is well settled that railroad corporations may be required, at their own expense, not only to abolish existing grade crossings but also to build and maintain suitable bridges or viaducts to carry highways, newly laid out, over their tracks or to carry their tracks over such highways.' Missouri Pacific Ry. Co. v. Omaha,
235 U.S. 121
, 35 Sup. Ct. 82; Northern Pacific Ry. Co. v. Puget Sound & Willapa Harbor Ry. Co.,
250 U.S. 332
, 39 Sup. Ct. 474. For although the statement is said to be explained as a matter of state law by the previous decisions in Minnesota, it is made without reference to those decisions or to any local rule, and moreover the intimation of the judgment in the present case is that whatever may have been the eariler rulings the law of New Jersey now adopts the same view.

But it is argued that the order is unreasonable in the circumstances to which we have adverted, the principle applied to the regulation of public service corporations being invoked. Mississippi R. R. Commission v. Mobile & Ohio R. R. Co.,
244
U.S. 388, 391
, 37 S. Sup. Ct. 602; Chicago,
[254 U.S. 394, 410]
Burlington & Quincy R. R. Co. v. Railroad Commissioners of Wisconsin,
237 U.S. 220
, 35 Sup. Ct. 560. But the extent of the States' power varies in different cases from absolute to qualified, somewhat as the privilege in respect of inflicting pecuniary damage varies. The power of the State over grade crossings derives little light from cases on the power to regulate trains.

Grade crossings call for a necessary adjustment of two conflicting interests-that of the public using the streets and that of the railroads and the public using them. Generically the streets represent the more important interest of the two. There can be no doubt that they did when these railroads were laid out, or that the advent of automobiles has given them an additional claim to consideration. They always are the necessity of the whole public, which the railroads, vital as they are, hardly can be called to the same extent. Being places to which the public is invited and that it necessarily frequents, the State, in the care of which this interest is and from which, ultimately, the railroads derive their right to occupy the land, has a constitutional right to insist that they shall not be made dangerous to the public, whatever may be the cost to the parties introducing the danger. That is one of the most obvious cases of the police power, or to put the same proposition in another form, the authority of the railroads to project their moving masses across thoroughfares must be taken to be subject to the implied limitation that it may be cut down whenever and so far as the safety of the public requires. It is said that if the same requirement were made for the other grade crossings of the road it would soon be bankrupt. That the States might be so foolish as to kill a goose that lays golden eggs for them, has no bearing on their constitutional rights. If it reasonably can be said that safety requires the change it is for them to say whether they will insist upon it, and neither prospective bankruptcy
[254 U.S. 394, 411]
nor engagement in interstate commerce can take away this fundamental right of the sovereign of the soil. Denver & Rio Grande R. R. Co. v. Denver,
250
U.S. 241, 246
, 39 S. Sup. Ct. 450. To engage in interstate commerce the railroad must get on to the land and to get on to it must comply with the conditions imposed by the State for the safety of its citizens. Contracts made by the road are made subject to the possible exercise of the sovereign right. Denver & Rio. Grande R. R. Co. v. Denver,
250
U.S. 241, 244
, 39 S. Sup. Ct. 450; Union Dry Goods Co. v. Georgia Public Service Co.,
248 U.S. 372
, 39 Sup. Ct. 117; Louisville & Nashville R. R. Co. v. Mottley,
219 U.S. 467
, 31 Sup. Ct. 264, 34 L. R. A. (N. S.) 671; Northern Pacific Ry. Co. v. Duluth,
208 U.S. 583
, 28 Sup. Ct. 341; Manigault v. Springs,
199
U.S. 473, 480
, 26 S. Sup. Ct. 127. If the burdens imposed are so great that the road cannot be run at a profit it can stop, whatever the misfortunes the stopping may produce. Brooks- Scanlon Co. v. R. R. Commissioners,
251 U.S. 396
, 40 Sup. Ct. 183. Intelligent self-interest should lead to a careful consideration of what the road is able to do without ruin, but this is not a constitutional duty. In the opinion of the Courts below the evidence justified the conclusion of the Board that the expense would not be ruinous. Many details as to the particular situation of this road are disposed of without the need of further mention by what we have said thus far.

The plaintiff in error discusses with considerable detail the effect of the changes upon private sidings. But its rights in respect of these are at least no greater than those in respect of the main line and are covered by the preceding discussion. So are the objections that if the leases ever are terminated it has no chance of being repaid the value of its improvements because of the smallness of the lessor corporations. They would have this property in that event and it would be subject to their obligation-but the answer to the complaint of the plaintiff in error in all its forms is that which we have made. Whatever the cost, it may be required by New Jersey not to im
[254 U.S. 394, 412]
peril the highways if it does business there. We agree with the decisions below that as the railroad company might have been charged with the whole expense the fact that no more than ten per centum of the cost of three crossings is thrown upon a street railway company is a matter of which it cannot complain.

If we could see that the evidence plainly did not warrant a finding that the particular crossings were dangerous there might be room for the argument that the order was so unreasonable as to be void. The number of accidents shown was small and if we went upon that alone we well might hesitate. But the situation is one that always is dangerous. The Board must be supposed to have known the locality and to have had an advantage similar to that of a Judge who sees and hears the witnesses. The Courts of the State have confirmed its judgment. The tribunals were not bound to await a collision that might cost the road a sum comparable to the cost of the change. If they were reasonably warranted in their conclusion their judgment must stand. We cannot say that they were not. At some crossings the danger was less than at others, but it was necessary or at least prudent to proceed on a general plan. Upon the whole matter while it is difficult to avoid the apprehension that the state officials hardly gave due weight to the situation of the company as a whole in their anxiety for the well being of the State, we are of opinion that they did not exceed their constitutional powers. The order should be regarded as stating a condition that must be complied with if the company continues to use the New Jersey soil. Probably the conclusion that we have reached could be supported upon the narrower ground that a continuing obligation was imposed by the charters of the plaintiff in error's lessors, and was assumed by the plaintiff in error, but that which we have stated seems to us free from doubt.

Some argument is based upon a discretion supposed
[254 U.S. 394, 413]
to be left to the Board by the statute, which reads that when it appears to the Board that the crossing is dangerous it may order, &c. The state courts seem to regard the words as imposing a positive duty, but upon either construction we perceive no infraction of the company's constitutional rights. If the words are imperative the reasons that we have given apply. If they leave a discretion it is subject to review by the Courts, and this Court has no concern with the question how far legislative or quasi-legislative powers may be delegated to a Commission or Board. Hall v. Geiger-Jones Co.,
242 U.S. 539
, 37 Sup. Ct. 217, L. R. A. 1917F, 514, Ann. Cas. 1917C, 643; Engel v. O'Malley,
219 U.S. 128
, 31 Sup. Ct. 190; Prentis v. Atlantic Coast Line Co.,
211
U.S. 210, 225
, 29 S. Sup. Ct. 67. We deem it unnecessary to give our reasons in greater detail for deciding that the judgment against the Erie Railroad Company must be affirmed.

While the Railroad Company contends that the Public Service Railway Company should be charged more, the latter company comes here upon the proposition that it should be charged nothing. We agree with the Courts below that a street railway crossing the tracks of a steam road at grade in a public street increases the danger and may be required to bear a part of the expense of removing it. The amount charged does not appear to be excessive and upon the principles that we have laid down the payment of it may be made a condition of the continued right to use the streets. Detroit, Fort Wayne & Belle Isle Ry. v. Osborn,
189
U.S. 383, 390
, 23 S. Sup. Ct. 540; Missouri Racific Ry. Co. v. Omaha,
235
U.S. 121, 129
, 35 S. Sup. Ct. 82.

The Passaic Water Company contends that the expense of moving its pipes cannot be thrown wholly upon it-mainly on the ground that the change of grade was unlawful. This ground fails and the company must adjust itself to the lawfully changed conditions. It also contends that it does not receive the equal protection of the laws because the street railway instead of being charged
[254 U.S. 394, 414]
the expense of moving its tracks is charged ten per centum of the total expense at its crossings. Presumably this charge is greater than the mere adjustment of tracks to a new surface. It is based upon the share of the street railroad in creating the danger. As the street railroad cannot complain, certainly the Water Company cannot.

The Western Union Telegraph Company makes similar objections and also says that its interstate commerce is interfered with and presents from its own point of view arguments dealt with so far as they seem to us to need mention in disposing of the principal case. The other plaintiffs in error own side tracks which will be dislocated by the change and they will be put to further expense if the plan is carried out according to what the New Jersey Court decides to be suggestions not commands. The rights in the side tracks are subordinate to changes in the main track otherwise lawful. As against these as against the others the judgment of the Court of Errors and Appeals is affirmed.