We held in People ex rel. City of Buffalo v. New York Central & Hudson R. R. R. Co. (156 N. *412Y. 570) that the effect of the provisions of section 31 of the Statutory Construction Law (Laws of 1892, chap. 677) is to preserve a proceeding pending in a court to compel a railroad to take a street across its tracks after the preliminary steps have been taken as provided by chapter 62 of the Laws of 1853, notwithstanding the repeal of such act by chapter 754 of the Laws of 1897. In that case the city of Buffalo had not only acquired the right to compel the railroad to take a street across its tracks, but it had also instituted proceedings by mandamus to effectuate that result before the act of 1897 went into operation, and the right to prosecute a proceeding thus commenced to final effect, notwithstanding the repeal of the statute authorizing it, is preserved by the section of the Statutory Construction Law to which we have referred.
This case presents an entirely different situation ; for when the act of 1897 took effect, this relator had not instituted a proceeding by mandamus to compel defendants to carry the street over its tracks; indeed, it had not even acquired the right to institute such a proceeding. If it had attempted to commence proceedings by mandamus at any time before the day on which the act of 1897 went into operation, it would have failed, because, by the terms of the resolution of the common council, the defendant had still seven days within which to comply, or refuse to comply, with the notice given by the city.
On the seventh day of May, 1897, in pursuance of a resolution of the common council of the relator, notices were served upon this defendant and the Erie Eailroad Company to take Tenth street, which was laid down upon a general map of the city, across their respective tracks. These notices were given in pursuance of the provisions of chapter 62 of the Laws of 1853 (supra), and later on and in conformity with other provisions of that statute the common council by resolution extended the time within which the defendant was required to do such work until the 7th day of July, 1897.. Until that date, therefore, the city could not have acquired the right to compel the defendant by mandamus to take the street across *413its tracks, had the act of 1858 continued in force. Between the 7th days of May and July the legislature passed chapter 754 of the Laws of 1897, which act took effect on the 1st day of July, or seven days prior to the termination of the period given the defendant by the city to take the street across the tracks. The latter act radically altered the procedure by which highways are to be carried across railroad tracks, a change of procedure made necessary by the radical change in the public policy of the State looking towards the ultimate abolition of the crossing of highways at grade by the tracks of steam railroads. It provides a complete scheme as to crossings, whether the tracks of the railroad cross streets already laid out or streets newly laid out, opened or extended across the tz’acks of a railroad already in existence, or the change in the grade of an existing crossing, and commits the regulation of the manner of making and constructing such crossing to the l’ailroad commissioners, who are given authority to determine whether a given street, avenue or highway shall pass over or under a railroad, or at grade. The last section contains a repealing clause affecting all acts inconsistent with it, by which the act of 1853 was necessai’ily repealed.
The right of all municipalities to lay out streets acz-oss the property of a railroad remains unaffected by this legislation; but it does take away from them the right of their own motion to compel a railroad to take a street across its tracks at grade. A municipality may desire that it be so taken, to save expense to itself or for some other reason, but the power to determine whether its wish will be given effect has, since the 1st day of July, 1897, been committed to the judgment of the railroad commissioner's. Many attempts have been made since the passage of that act to-thwart the policy of the law-making power to avoid grade cz-ossings; in some instances proceedings to open stz’eets wez*e instituted by the municipal authorities after the act of 1897 had been passed, but, of course, before it took effect. Indeed, in one instance, the notice, which the act of 1853 provided should be served upon a railroad corporation," notifying it to take a stz*eet acz'oss its railroad tracks *414within thirty days, was served only two days before the act of 1897 took effect. (Matter of the Village of Waverly, 35 App. Div. 38.)
It would be unfortunate if such attempts to subvert the policy of the state could have such support in the statutes as would make them effectual, but, as we read them, they have no such support. The act of 1853 was repealed by that of 1897, and, therefore, since the 1st day of July of that year the procedure provided by the latter act must be resorted to in all attempts to take a street across the tracks of a steam railroad — a procedure that requires, in the first instance, a determination by the railroad commissioners whether the street shall pass under or over the tracks of such a corporation, or at grade. But where the right to institute proceedings, by mandamus was acquired, and the proceedings commenced prior to the 1st day of July, 1897, to compel a railroad to take a street across its tracks, the right to prosecute that proceeding to the end in the courts is preserved by section 31 of the Statutory Construction Law.
The order should be affirmed, with costs.
All concur.Order affirmed.