Inhabitants of Byron

Appleton, C. J.

By R. S., 1857, c. 18, § 22, “ When the municipal officers unreasonably neglect, or refuse to lay out, or alter a town-way, or a private way on petition of an inhabitant, or of an owner of land therein for a way leading from such land under improvement, to a town or highway, the petitioner therefor may, within one year thereafter, present a petition stating the facts to the commissioners of the county at a regular session, who are to give notice thereof to all persons interested, and proceed to act thereon as is provided respecting highways. Their decision, returned and recorded, is to be conclusive ; allowing those aggrieved by their estimate of damages, a fight to have them assessed by a committee or jury, as is provided respecting highways. The damages, and the costs if the damages are increased, are to be paid by those liable if no such application had been made; and the commissioners may issue a warrant of distress to collect the same.”

By § 28, “ When a town unreasonably refuses to discontinue a *342town or private way, or to accept one laid out and altered by the selectmen, the parties aggrieved may, within the time and in the manner stated in the preceding section, present a petition to the commissioners, who shall, in like manner, proceed and act thereon, and cause their proceedings to be recorded by their own and by the town clerk; and the rights of all parties may be preserved and determined as provided in that section.”

By the act approved March 18, 1862, c. 123, “ section twenty-two of chapter eighteen of the revised statutes is hereby amended by striking out of said section all after the word “ highways ” on the ninth line thereof, and inserting ha lieu thereof the following words :

“ When their decision is returned and recorded, parties interested have the same right to appeal to the supreme judicial court in said county, and also the same right to have their damages estimated by a committee or jury as is provided in this.chapter respecting highways.”

The 22d section was accordingly so amended. By this section the right to appeal is given to all cases within its purview. Is the same right extended to cases embraced within § 23 ?

The act of 1862, c. 128, is the modification of an existing statute. It provides that § 22, after its amendment, shall still be and remain § 22 of c. 18 of the revised statutes. Chapter 18 must, therefore, after the passage of the act of 1862, be regarded and construed as containing the 22d section as now amended.

If it were not so, the rights of parties under § 23 would be lost. The rights of all parties could not “ be preserved and determined as provided in that section,” as it stood before the amendment, for the mode and manner of preserving and determining them as thereby provided have been repealed.

The twenty-third section of c. 18, remains. It has not been repealed. Effect should be given to it. The preceding section, upon which the rights of parties depended, has been modified, but it is still § 22, with its modifications. Section twenty-three still refers to the preceding section. If to the preceding section, as it *343stood before the amendment, tlieu no rights are protected. If the reference be to the preceding section as amended, that is, if the reference is to continue and apply to the preceding section, with its amendment, from the time of such amendment, then the rights of all parties will be preserved. The original statute and the amendment are to be viewed as one act. No portion of it is to he regarded as inoperative. The amended section takes the place of the original section by the terms of the act. The intention of the legislature was, that the act should remain with the same number of sections as before. From the date of the amendment, the statute is to be construed as if, originally, the statute was as amended. Consequently, then, there is the same right of appeal under § 23, as is given under § 22. Harrell v. Harrell, 8 Florida, 46. McKibben v. Lester, 8 Ohio, N. S. 627. Blake v. Brackett, 47 Maine, 28.

Both sections relate to the same subject-matter, and are part of the same statute. The rule is, that in endeavoring to ascertain the meaning of a statute, all laws relating to the same subject-matter are to be construed together. Much more is this principle applicable to sections of one and the same statute.

Exceptions overruled.

Walton, Dickerson, Barrows, and Tapley, JJ., concurred.